How to use click activity?


I need to click the download icon in this page for every row, I used extract table data activity and for each row in table data activyt to loop through all the rows in a table, but when i indicating the download icon in a row, i indicated the icon in the 1st row. the selector is

always clicking only the row’s download icon for the every iteration

how fix this issue? can anybody help to fix this ?

Hi @Prabhakaran_Elango

You can try Use idx with rowIndex in selector

Thanks

can you pls share the selector script? for reference

@Prabhakaran_Elango

String.Format(, rowIndex + 2)

Let me know if u face issue

Click ‘A’: Multiple similar matches found.

Could not uniquely identify the user-interface element for this action.
Edit the element, run Validation, and add anchors in order to ensure the element is uniquely identified.

i got this issue when i tried your solution

Glad to hear, please mark as solution if it’s resolve issue

Thanks

Don’t use idx property, unless there is really no other solution. In this case it’s not that much of a hassle…

You said you already used extract datatable. This means you already have a table with the order id’s (1st column).
Make a click activity on the download icon as you already do, and use the order id as an anchor. Make this anchor value a variable. Use the value of your datatable (using for each row in datatable) as the value for the variable in the anchor.

Other option maybe valid (depending on your application):
After extracting the datatable, perform a search in this form with each unique order ID. This should most likely yield only 1 result, meaning you can click download on the single download button.

Hi,

For now, can you try to use just Strict selector? (Turn off Fuzzy,Computer Vision and Image)
Then use dynamic selector in Strict selector.

Select numeric value then right click.

Regards,

Hi @Prabhakaran_Elango,

As @Yoichi mentioned turn off the fuzzy and computer vision, use the strict selector and for the TableRow you need to make a integer variable and increment it, so is there any place that shows total rows number? based on that you can build logic

Hope this may help you

Thanks,
Srini

SyntaxEditor Code Snippet

i got the same issue

Click ‘A’: Multiple similar matches found.

Could not uniquely identify the user-interface element for this action.
Edit the element, run Validation, and add anchors in order to ensure the element is uniquely identified.

while using above variable

Hi,

In strict selector, this error should not occur.

If you have any anchor, can you try to remove it?

Regards,

@Prabhakaran_Elango

I think simple For Each Ui Element activity should work here to click on each button.


this is my selector icon indication in click activity. there is no anchor used and image and computer vision is off

Hi,

Can you also share screenshot when error message is shown, if possible?

Regards,

this works thank you so much!

1 Like

when i using for each uielement activity for cliking rows in a table, i enable scrap multiple pages and indicated the next page arrow icon. it correctly click all the rows in a 1st page and navigate to the next page but it keep clicking the row in the next page after all the rows finished it start iclicking again from the 1st row in a page

@Prabhakaran_Elango

Try using Get Attribute activity to get some unique identifier for each item and if it’s being repeated or same as previous, break the loop using Break

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