1

I'm using UiPath for automating a process whereby I have several dynamic checkboxes. I also have a variable that hold which checkbox is to be selected. How can I make UiPath to find a particular checkbox and tick it. By dynamic checkboxes, I meant that the checkboxes might change for each new form, e.g a form might have 3 checkboxes and another might have 10 checkboxes. This is not constant.

click to view screenshot

kwoxer
  • 3,734
  • 4
  • 40
  • 70
green leaf
  • 19
  • 2

1 Answers1

0

Short answer:

Use the Click activity with an appropriate selector.


An example:

For example, to check the box called "Turn on SafeSearch" on Google Search settings:

Selector:

Panel showing a strict selector

Notice the <nav up='1' /> segment that indicates an anchor. To do this, use the "Open in UiExplorer" button when setting the selector. In order to add a variable value instead of a static value, replace the string like "Turn on Safe Search" with a variable {{checkboxLabel}} after making the selector.

Sequence:

View of the appropriate sequence

etskinner
  • 160
  • 1
  • 7