Invalid Selector

Hello Guys,

Please help me on this…
image

Thanks,
Suresh.

@suresh_kumar4,

Your selector is not valid one.

Share your selector here for better help. and describe what you are trying to do which is the target application.

I have a check box inside the dropdown i want to check the checkbox… while i am runninf i am getting this error…

“<webctrl aaname=’”+item.ToString+“’ />”

Thanks,
Suresh

1 Like

Hi
Kindly include few more attributes along with aaname in that selector to make it more robust
and also for passing variable kindly have a view on this thread on how to create a varaible in selector

and make sure that we have value in the variable item.ToString

Cheers @suresh_kumar4

Sry @Palaniyappan still i am getting the same error…

Click ‘checkbox’: The selector is not valid

“<webctrl aaname=’”+item.ToString+“’ tag=‘DIV’ parentclass=‘multiselect-item-checkbox’/>”

i have used like this also… no luck … the same thing i have used before like i am getting the list in an Array after that i am looping it through for each …it works for me…

same thing i am doing in sepate project i am getting error…
i am getting the item in log … but while its reaching the activity… i am getting error.

Thanks,
Suresh.

Maybe this page on dynamic selectors will help?
https://docs.uipath.com/studio/docs/dynamic-selectors