Hi, Is it possible to provide value to Find Element activity from excel. Data I am using may have multiple results and I need that only data I have put in excel should be clicked

Getting error “Selector is Invalid”

Hi @hsharsh92
are you using doing excel application scope and tried to search the element by using ctrl+f

and give type into for as empty selector and try it

Thanks
Ashwin S

Hi actually i have a excel sheet which have some headers and i need to use that headers in find element so that it find the element on the webpage and type into the relative element container… but when i pass the string in find element it shows the error

Hi @hsharsh92

try to change the selector for find element in UiExplorer

Thanks
Ashwin S

but the selector is a string variable

Hi @hsharsh92

What value have you given the string variable

Thanks
Ashwin S

row(Header 1).to String

Hi @hsharsh92

give the wnd title and other property and give the string variable

Thanks
Ashwin S

can you please give me the format

Yah if we have the selector and if we want to pass the variable to the selector kindly have a view in this

Or this

Or if we don’t have the selector and only the text then pass the text as input to FIND TEXT POSITION activity and get the output with a uielement variable
Pass that variable as input to element property in the FIND ELEMENT ACTIVITY

Cheers @hsharsh92

Thanks Bro!!

This helps me a lot

“Or if we don’t have the selector and only the text then pass the text as input to FIND TEXT POSITION activity and get the output with a uielement variable
Pass that variable as input to element property in the FIND ELEMENT ACTIVITY”

Cheers @hsharsh92

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.