Click on the multiple checkbox

Hi all,

I want to click on the multiple checkbox dynamicall. I assigned the index variable is 1 .then I used while is equal to true and then take click activity in while loop.then index increase by 1.
It is working like it click on multiple checkbox but after that bot is giving error .like it is finding more checkbox.

Can anyone please help me

Hi Nidhi, Can you please Provide some more details, screenshots pls if any!

Thanks @ArunVelaayudhanG for your help.
Can I share screenshot tommorow because right now I have no access.

You were almost done
Good that you were able to click on the checkbox with proper selectors and variable for index
But kindly make sure that the while loop condition is correct like
if the total number of check box is 10 then use a variable named in_index of type int32 with the default value of 1 ( defined in the variable panel ) in the while loop like this
in_index > 10
and inside this while loop use a click activity that clicks on the check box with the variable ’ " +in_index.ToString+" ’ in the selector attribute value
–next use a assign activity to increment the in_index value like this
in_index = in_index + 1

hope this would help you
Cheers @Nidhi2

1 Like

thanks @Palaniyappan for your suggestion.
I am attaching the workflow .can you please check that What I am missing in selector.
because after click on the checkbox It gives the error.Sequence_FOR _CHECKBOX.xaml (7.4 KB)