How to create a selector which selects checkboxes according to the statement infront

I am working with a website which can download PDFs but there is a menu that we have select or deselect items that are stated as Dropped or Inrange. we should check the InRange items and uncheck Dropped items (Take a look at the picture). I am able to identify the dropped items using for each Ui element activity but currently i am unable to create a selector that selects the checkbox opposite to the Dropped statement. Please Help me.

@elt.rd13

In for each ui element you have filter option add a filter for check if innertext contains dropped…

Cheers

I already did that and i can identify which items contains “dropped”. But the problem is not in the identification. It is about unchecking. when we add the check uncheck activity how does it identify which checkbox to uncheck and which not to uncheck. because if i just point out 1 item in the check/uncheck activity it will toggle the check and uncheck the same checkbox mutiple times according to the number of items that contain “Dropped”.

@elt.rd13

After adding filter in the check/uncheck activity you need to pass currentitem…then for each item the current item changes and the corresponding checkbox is checked or unchecked

You shpuld not indicate again in the activity…

Cheers

Can you provide 2-3 samples of the selectors?

Hello Mr. Anil,
Can you kindly explain how to choose the checkbox according to the current item? Thanks in advance.

Hello Mr. Steven. I am sorry i do not understand what do you mean by this, can you please elaborate it more?

Can you share some of the selectors you are using to check the boxes?

What are the values in the yellow highlighted field:

image

actually, this is what i have right now. I didn’t change anything. I just indicate one of the entries contains dropped. Please help. Thanks in advance.

@elt.rd13

this is how you can configure

cheers

1 Like

Hello, I tried this and i get an error. please check the picture. thanks in advance.

@elt.rd13

the error says the element you indicated in for each is not a check box element

cheers

Hello. It works. Thank you so much for the help.

1 Like

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