How to select select multiple items with same name

I’m having trouble selecting multiple items that have the same naming. I am using the click activity to select the check box. Do I have to do a “for each” activity also?



It may not be good performance but ForEachUiElement activity may help you. (iterate all the item in the list then check name and check checkbox if matches)


I would use Table Extraction to get all the data. Then For Each Row in Data Table through the unique values. Inside that loop, use Find Children (set to Descendants) to get all the elements that match the current item of the loop. Now loop through those results and Get Attribute the tablerow, and use the tablerow to form a dynamic selector for the Check/Uncheck activity to check the box.