Perhaps your XPath is just not quite what you think. You may need to use the string () function to concatenate all the text in a block.
For example, in TestPlan (using Selenium as backend) you would do something like this:
Click //div[@class='gwt-Label'][contains(string(),'Logout')]
Note the use of string ()
edA-qa mort-ora-y
source share