How to click each checkbox on a for each help

Hello, I would like to check off checkboxes one by one,
but I’m encountering errors when using the Check activity, and even using the Find Children method doesn’t work.

Please help! Thank you in advance for your response.

Can you share what error you have?

Regards,

@Yoichi
Thank you for your response.
There are no errors, but I can’t click.

every checkbox should contain index elements

could you show the element for each checkbox?

The logic is to change the index into variable and loop it one by one

HI,

Do you mean Check activity doesn’t work (without error) even if the check activity is used alone? If yes, it may be necessary to use Click activity (and GetAttribute etc) instead of Check activity.

Regards,

@Raymond_Hui

Thank you for your response.
Could you possibly let me know how to check the index values?

could you try to use click activity and click the check box, and it should show the elements.

@Yoichi

Could you show me an example of how to make each item click one by one in order?

Hi @22222222asas

Try with For each ui element activity

Regards,

HI,

One of the simplest way is ForEachUiElement activity as the following, for example.

Sample
Sample20241016-5.zip (4.5 KB)

Regards,

1 Like

@Yoichi

Thank you so much for your response, but the error below is appearing.
The ‘Check/Uncheck’ feature is currently not supported by UiNode.

Hi,

For now, can you try to use Click activity instead of Check/Uncheck activity?

Regards,

@Yoichi

"Thank you for your response. It seems I clicked incorrectly before, but now it works. However, another issue has arisen. I set a condition to click if the dates match, but it keeps clicking repeatedly. Is there a way to fix this?

For example, if the Excel date matches today’s date, it should click, otherwise, it shouldn’t, and the process should end."

Hi,

We can also get other data in the row using Add label option. So, can you try to add Date column, then check if the date is same with Today.

image

Regards,

1 Like

@Yoichi
Thank you so much for your response. Thanks to you, I was able to solve the issue. Have a great evening

1 Like

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