Hi,

I have been using WebTest and XPath for a while, and I know WebTest uses
org.apache.xpath, but can anyone tell me why the following XPath
statement fails with a 

 

xpath test:  */fo...@name="login"]/*/sele...@id="locale"] matched no
nodes

 

      <verifyXPath description="simple match"
xpath='*/fo...@name="login"]/*/sele...@id="locale"]'/>

 

And this one passes the test

 

      <verifyXPath description="simple match"
xpath='//fo...@name="login"]//sele...@id="locale"]'/>

 

Thanks

Mark Winney



 

_____________

The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
_____________

Reply via email to