Click Text: Match The Whole Word

Hi all,

We had a solution for achieving the goal of clicking on the right text and I just want to share it here.
The idea was to iterate the activity “Find text position”, incrementing the occurrence property, and compare the text found with the one I was actually looking for. The comparison was made using the Scrape method of the UiElement (expand it to the right and to the left, in order to take the whole text; use the Expand method) found by “Find text position” activity. Now I can be sure that the right text will be clicked. However, I still consider that would be nice to have this “Match whole word” option when finding a text in UiPath.

Thanks and regards,

Bruno Costa

4 Likes