Katalon Automation Recorder - How to do a File Upload? HTMLInputElement


Dear people,

My Katalon Recorder (v. 3.6.12) script containing a File upload used to work like a charm, but not anymore.
Inbetween, there was a Chrome update and an update from Windows 7 to Windows 10.

In the log, I get:

[info] Executing: | click | id=fileUpload | |

[info] Executing: | type | css=#fileUpload | F:/Data/BBIE/Testbestanden/jpg/Koala.jpg |

[error] {“code”:-32000,“message”:“Not allowed”}

Any ideas why I get this and how I can solve this one?

Thanx a lot!

Cheers, Robert


I am facing the same issue: “{“code”:-32000,“message”:“Not allowed”}”


Same issue. Any updates on this? Do you have a workaround in place? Thank you!


This is a bug in Chrome, not Katalon! The only solution is to use Kantu for file uploads until the Chrome bug is fixed.


Same issue !


Does anyone have a workaround for the same issue? I have tried using css locator but i get this issue-

Thanks in advance!


See my answer above for a workaround.


Hey does anybody have an example of a path using MacOS I have this path ///Users/oswaldo/Documents/Annotate_WinStore.png but the path is converting into C:\fakepath\Annotate_WinStore.png


Hello, maybe anyone can help me with the download of a file?
So I’m downloading a pdf from the website I’m testing. I setup chrome to download automatically the file, however any steps after the download simply don’t work.
I cannot refresh the page.
I can close the win_ser_local window, but I cannot afterwards use open, openWindow or even a runScript with open.Window() JS command.
If I refresh the browser manually, the test resumes.
it hangs after line 27. I’m using Chrome latest version. I have allow popups enabled.

Anyone have any idea how to solve this?


does anyone can Help with upload file, I use Chrome Version 75.0.3770.100 (Official Build) (64-bit)
it says, “test case passed”
but the file not uploaded, did I miss something?