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.
Asked
Active
Viewed 262 times
1
-
Please provide enough code so others can better understand or reproduce the problem. – Community Jun 18 '22 at 12:37
1 Answers
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:
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:

etskinner
- 160
- 1
- 7