I’m trying to automate the upload image using katalon studio. After clicking on Upload Image (this is how it looks see attached image below). I’m stuck in the native fileupload dialog. I’m currently using macOS.
here is my code but unfortunately not working.
and an error message
(Root cause: org.openqa.selenium.ElementNotInteractableException: Element <label class="uploadlabel"> is not reachable by keyboard.
Is there any alternative solution to my issue?
Thanks in advance.
Screen Shot 2018-02-28 at 4.36.14 PM.png
Dave Evers said:
This might help: http://forum.katalon.com/discussion/5231/when-upload-file-or-send-keys-will-not-upload-files-for-your-test-case#latest
Thanks for your help. I used the code you provide but i think katalon studio can’t read the macOS path file (I think my pathfile is incorrect?) I’m a bit confused on file path. I’ll do some research for this.
Not sure about macOS path but Windows path would be C:\\Users\\username\\Downloads\\testfile.txt
Maybe yours should be ‘//Users/Ryan//Desktop//myimage.jpg’
i m unable to upload image on mac.please help