How to Select the Last Checkbox Not Labeled 'TEL' Using IDX Value in a Bot

Hi,

I have a project where the bot needs to select a checkbox that is not labeled “TEL”. However, the bot currently selects the first date checkbox every time. I need the bot to select the last checkbox that isn’t labeled “TEL”. The checkboxes can only be selected using their idx value, so I’m using the find element activity to get the idx number of the date and passing that idx value to select the checkbox. Additionally, I cannot use the “For Each UI Element” activity on this page.

image

Any help is appreciated. Thanks in advance.

Hi,

How about using FindChildren activity as the following?

Regards,

Hi @Yoichi Thanks for the reply.

Actually here the list is big so I cant select by the method you are saying

If you see here for the date 11/07/2024 it has TEL and TV but I have to select TV

Hi,

Is this web? If so, in this case, first get DataTable using TableExteaction then identify necessary row number using ForEachRow or LINQ etc. and use GetText using tableRow attribute.

Regards,

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