Find and select checkbox automatically UIPATH RPA

335 views Asked by At

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

1

There are 1 answers

0
etskinner On

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