I am currently working on creating a script that will be used for updating data internally per a specific account number (via excel file). The BOT is meant to search an account number (e.g. 12345689) and check mark the account that matches the search values. Currently, I am faced with the following challenge:
‘Click’ Activity has been inputted-> Purpose is meant to select the option that matches the search values, but is selecting the first option, which is incorrect.
I attempted to input the IF clause, but am not sure if this is correct.
What activity can used so that the BOT can systematically select the correct account number result that matches the values in the search engine?
For example: Screenshot:
Value inputted in search engine- XXXXXXX-880
3 results XXXXX-876, XXXXXX-880, & XXXXXX-094
I want BOT to select the XXXXX-880 since it is matching the values in search engine. Other parts of the data are addresses, numbers, etc. So there is no unique identifier that an anchor could be attached to help.
I would take a look at the selector for this click activity.
Use UiExplorer and check the 2nd and 3rd level selectors to click the right element. Find a selector that contains the value “XXXXXXX-880” and update the selector accordingly.
Once you found a reliable selector containing the value “XXXXXXX-880”, right click on it and make it dynamic by selecting the variable name (or argument name).