[Need Help] Uploading files with Katalon KAR (input)

[Input] Uploading files with Katalon KAR

Like to know how people are handeling file uploads true Katalon KAR or Selenium IDE. Did a search for it on internet but couldn’t really find a clear awnser.

Some people say this isn’t possible at all.

Other are saying it’s possible true the following example:

type | css=input[type=“file”] | C:\Users\USERNAME\Desktop\Test Suites\Email-list.csv

For me this awnser/solution explained online isn’t working and i get the following error back in the console/log.

[error] Failed to set the ‘value’ property on ‘HTMLInputElement’: This input element accepts a filename, which may only be programmatically set to the empty string.

Any ideas how to proceed or anyone have suggestions how to make this work?

Patrick

Whoops duplicated thread/issue!

Anyway like to see if there any thoughts about this?

Patrick Groot said:

Whoops duplicated thread/issue!

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

Anyway like to see if there any thoughts about this?

Yes, i have in my script as well. In old selenium IDE it is allowed but katalon is saying it as insecure

FileUpload.jpg

I will close this now as the issue has been discussed and partially addressed here http://forum.katalon.com/discussion/4833/katalon-automation-recorder-how-to-do-a-file-upload-htmlinputelement. Thanks, everyone :).