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?
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:
- Click on the edit selector option
- Build a dynamic selector.
- Copy the Built dynamic selector and clear the selector.
- 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.
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