How to pass HTML Selector to Click Activity

I have changed to small characters Jatin, No errors now but, element was not clicked.

@winningvish:

Not sure if it would work but can you try putting this into the Insert JS directly, instead of example.js

ā€œfunction(){document.getElementById(ā€˜flDataFileā€™).click()}ā€

Also please go into Chrome development tools and just execute this:

document.getElementById(ā€˜flDataFileā€™).click()

and see if its clicking that button or not

in case if its not able to click, try and execute this:

document.getElementById(ā€˜flDataFileā€™)

and see its returning a single element or an array, based on that i can help you out.

No Luck Jatin,

I have checked in console by typing below

document.getElementById(ā€œflDataFileā€).click() ā€“ Its working in the console but not in UiPath

Can we have a quick hangout call, i can help you create a valid Selector i think based on some additional attributes.

Please ping me on jatin.nandwani@gmail.com, if hangout call is possible

Hi Jatin,
Sent invitation.
Regards
Vishnu