Unable to click on INPUT type file

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

Thanks in advance.

Could you please elaborate the query.

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.

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

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…

5 Likes