In the attached screenshot, I need to click all the checkboxes corresponding to the rows highlighted in yellow. These yellow-highlighted rows are dynamic and change at runtime for each Loan Number.
I tried using the Get Attribute method in UiPath to identify the yellow-colored rows, but I was unable to detect the yellow color successfully.
Could you please provide the correct solution, preferably with an example XAML workflow?
This is a desktop application, and the same process was previously implemented in Blue Prism using Surface Automation. Currently, we are working on a Blue Prism to UiPath migration project, so I am looking for the best UiPath approach to handle this scenario.
Try this approach
1 Use Find Children on the document list/grid.
2. Loop through each row element.
3. Use Get Attribute to retrieve properties such as:
* aaname
* role
* idx
* innertext
* class
4. Check whether the row exposes a state/property indicating selection/highlight.
5. If highlighted:
* Find the checkbox inside that row.
* Click it.
*
If solution works for you please mark as solution
a better approach is to use computer Vision/Image-based automation to identify the yellow-highlighted rows at runtime and then click the corresponding checkboxes. If the application supports table/grid accessibility, another option is to extract row data and use business rules instead of relying on color detection. For a Blue Prism Surface Automation migration, Computer Vision is usually the most reliable approach.
This is a desktop application. Could you please explain the solution step by step instead of sharing the XAML file? I’m finding it difficult to understand the XAML file you shared. A detailed explanation would be very helpful.
Could you check whether the aastate attribute differs between a yellow-highlighted row and a normal row? Also, under what conditions do the rows become highlighted?
Use CV or image based click and use the yellow area on left plus check box and run it in loop till it fails once fails that means all yellows are checked else it would try to check
this is what you need to use as image
you can use cursor position offset to click on checkbox