How to add a variable name to a click selector?

I need the bot to click on a dropdown based on a variable name. How do I format the selector so the click activity works on the dropdown?

Hi @Aishwarya_Maggi

You should build a dynamic selector as follows (“webctrl aaname='”+Variable name+“’ parentid=‘searchForm’ tag=‘A’ />”)

When I assign the variable to aaname the selector does not validate and the activity does not execute

Follow the below steps:

  1. Click on the edit selector option
  2. Build a dynamic selector.
  3. Copy the Built dynamic selector and clear the selector.
  4. Paste the previously copied selector in step2 in " ".

Your selector editor panel should look like below.
I hope this would help you to solve your problem.Screenshot%20(478)

Hi, thanks for your help!

I have clicked edit selector, where can I find build a dynamic selector?

Open it in Ui explorer and then pick the appropriate attributes by checking the boxes left pane of your UiExplorer and save it so that you can go back to the edit selector option and continue the previously mentioned steps.

I believe you have completed the slectors topic, you can also refer UiExplorer