maybe some special whitespace in the text() of you td.
You may want to use trim() to remove it.

cheers
Dierk


Am 26.08.2010 um 14:26 schrieb mascis:

> 
> Hi,
> 
> I have an element I have to check with verifyXPath but there seems to be a
> problem with verifyXPath.
> I uploaded two screenshots mixed in one small picture that hopefully
> explains itself. 
> In upper part of the picture is the XPath of the element and the result what
> View Xpath gives for it and what it should look like. In the lower part is
> what Webtest gives. For some reason it leaves a weird space in front of the
> text that should be verified and the test fails because of that. Adding
> space in front of the expected result won't help.
> 
> http://old.nabble.com/file/p29541802/xpath.png xpath.png 
> -- 
> View this message in context: 
> http://old.nabble.com/A-problem-with-verifyXPath-tp29541802p29541802.html
> Sent from the WebTest mailing list archive at Nabble.com.
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to