Unable to click on INPUT type file

uiautomation
studio

#1

Click event on “choose” button of Input type “file” is not getting triggered. please help me out to automate the flow.

Thanks in advance.


File upload
#2

Could you please elaborate the query.


#3

i am trying to upload the file on one form.
There element is “INPUT” for type “file”.
Depending upon the browser, the html will show either “choose” button or “browse” button. But the click event is not getting triggered on this button for uploading.


#4

Are you able to find the selector for that button using UiExplorer.Please paste the full selector here.


#5

Hi @megha

Can you try to set the focus on the INPUT element and then send a hotkey for space (" ")? This may do the work for you…