I’m facing an issue while trying to automate an expand arrow icon inside a table (row-based data).
The arrow icon is not exposing any reliable attributes, so UiPath is detecting it only via Computer Vision. However, we cannot proceed with Computer Vision since it consumes AI tokens and we want to stick to strict/fuzzy selectors only.
I’ve tried using an anchor-based approach (anchoring with nearby stable text like “Initial Evaluation”), but still the target element itself is only supported through CV. Also, there are multiple similar arrow icons (one per row), which leads to duplicate element issues.
Has anyone handled a similar scenario?
What would be the best way to reliably click this expand arrow using only selectors?
Compare table row html attributes/ class before and after clicking on expand icon.
If you found any difference in class/attributes of the row then inject js to replicate it.
Try looking for a selector identifiable element near the expand arrow and use that selector on your click activity then just add offset to the click. This might involve doing trial and error until you find the correct offset
I have had a similar issue, where I would have to sort a column in descending order.
For my case the downward facing arrow had a specific attribute (file name) that I could use to validate my Click activity.
To summarize:
Click activity with anchor on column name
Validation on downward facing arrow appearing
Retry every 10 sec if the “correct” arrow is not showing
Btw, its worth noting. You can use the Computer vision local server to avoid consuming AI units. It uses more of your computers CPU, but for one off stuff like this it works great.