How to find position of more than one word using Find Text Position activity (or a workaround)

I recently run into issues with the following activity: Find Text Position.
I can make it work with single words, but not with full sentences nor even two words separated by a space.

See example xaml file for the simplest example:
Main.xaml (7.8 KB)

I would like to later use that Find Text Position activity together with Anchor Base activity but the fact that it does not find sentences makes such use unreasonably limited.

@loginerror I know Iā€™m responding very late. But just wanted to say your workflow works perfectly fine for me. The Message box did not display the "result " because it is a UiElement and unable to convert to string to display in Message box. I used Highlight activity to see if the element is found and it did find the text.

Thanks

1 Like