[Webtest] Re: verifyxpath fails to select text() nodes
Fri, 20 Aug 2004 16:09:02 +1000
Oops, the missing @'s a typo in my mail composition but it's present in
XPathExplorer & in my <verifyxpath> attributes.
Can't quite tell from your email but is there an '@' missing, e.g.
//span[@id='foo'] perhaps XPath explorer is more forgiving?
Otherwise, all I can suggest is that you try storing and printing
the XPath values. I find using XPath expressions using count()
useful to avoid just getting the flattened text values for nodesets
which can sometimes hide what is really going on.