Selecting result value with search value Activity

Hello UiPath Community

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.

Thanks-

Welcome to the UiPath Community Forum @gerardo_garcia2!

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).

Hopefully this helps,

Cheers

Steve

Hi,

It may be better not to Click directly but to use ForEachUiElement then check the value row by row.

Regards,

Hi Yoichi-

For Each UI Element activity- will this select the correct option comparing to the search engine input?

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