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


#42

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


#43

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


#44

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


#45

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


#46

Same issue !


#47

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

Thanks in advance!


#48

See my answer above for a workaround.