Dynamically select checkbox

Hello community!
I’m having trouble finding a solution for an automation that is as follows:

image

I need to select some checkboxes, but the quantity is not fixed.
Depending on this, 2 check boxes, 4, 5 may appear. It varies a lot. And I need to mark all that appear.
Could you help me find a solution, if you have already been in this situation?
I left a print to illustrate.
More directly and: did any checkbox appear? mark all
Thanks!

in such case we could work with find children - getting all checkboxes
Then we loop over the result and check the found checkboxes

Could you explain to me how I get the number of check boxes? and how would I select the different checkboxes? without the loop checking and unchecking the same checkbox?
thank you friend

grafik
grafik

find children will search for you - myChildren.Count

you would loop over the found children - myChildren

for each loop is not a monster

I followed the step-by-step instructions you provided, but when I run it, it only marks one check box, and there are two on the screen.
It actually counts and sees that there are two, but what it does is check and uncheck the same check box

It worked, thank you very much!!

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