Spy only the checkbox…and in that selector editor in the ui explorer page…from the centre menu you would find one row which contains the name role as one field use that as variable and it wpuld click on checkbox
Use the “For Each” activity to iterate through each string in the array.
Inside the loop, use the “Find Element” or “Find Image” activity to locate the checkbox element on the screen. You can use selectors or image-based automation techniques, depending on the application you’re working with.
Use an “If” activity to check if the current string matches the desired value for selecting the checkbox.
If the condition is true, use the appropriate activity to interact with the checkbox and select it. For example, you can use the “Click” activity or set the “Checked” property of the checkbox to true.
Hi Nitya,
Is it possible for you to explain with an example?
I am little confused( in the example I just put few checkboxes, but there are almost 100 checkboxes)
Really appreciate your help.
Then from centre menu select each row from bottom and check the row which contains the detaila about role…that is the row you have to select and under that the checkbox selector is already present …so we can make that line where role is present as dynamic