How to click the checkbox that meets the conditions

I created an activity to click the checkbox when conditions are met using an if statement. However, when the checkbox activity starts due to meeting the condition, it selects the first checkbox. The checkbox that meets the condition is actually the third one.

In the screenshot, the condition is for the date 10/31, but the checkbox gets selected on the first date, 10/25. Could you please guide me on how to click the checkbox that matches the condition? I am using find Children and cannot use For Each UI Elements.

Thank you in advance for your response.

Hi @22222222asas ,
Refer this link

Hope this helps

@lakshmi.mp
Thank you for your response,
but this is not what I am looking for. I have already created a way to check a checkbox. What I want is for you to show me how to check only the checkbox that matches the condition.

@22222222asas

After find children can you say what you are doing?

Ideally you can use one more find chuldren and get the precedents and then get the chekc bo

Or if idx supports based on the chuldren count then use idx in selector

Cheers