Click Text: Match The Whole Word

I have an issue with Click activity where i want to click on a text. It doesn’t work when there are multiple words in the string. It clicks properly for single word.

With Click Text activity it doesn’t even work. Not sure may be the text appearing is not in text format. Please check the screen shot below. We have replaced the aaname attribute with variable.