There has been an earlier thread on this. Until improved
support is implemented, there is a hack to enable namespaces
as follows:

<groovy>
step.context.xPathHelper.namespaceContext.addNamespace("ns",
  "http://www.someurl.com/somedir";)
</groovy>
<verifyXPath xpath="//ns:someelement"/>

Cheers, Paul.

Ritesh Trivedi wrote:
Hi,

It doesnt look like we have namespace support for Xpath related tags
for XML responses.

e.g. if I have a XML response like
<a:person>
<b:name str="whatever"/>
</a:person>

I am not able to use VerifyXPath to verify the response.

Thanks
Ritesh
_______________________________________________
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