Hi

On 20 déc. 06, at 12:12, Caleandro wrote:

Testing webservices responses with Webtest (R_1393) I need to verify an
element, with:

<verifyXPath xpath="//SOAP-ENV:Body" description="verify tag existence"/>

but got an exception like:

com.canoo.webtest.engine.StepExecutionException: Unexpected exception
caught: org.jaxen.UnresolvableException: Cannot resolve namespace prefix
'SOAP-ENV', Step: VerifyXPath at
D:\TestsRoot\AAGC\BatchTests\AAGC_WS_0001_VIC.xml:13:  with
(description="verify tag existence", taskName="verifyXPath",
xpath="//SOAP-ENV:Body")
at com.canoo.webtest.steps.Step.handleUnexpectedException (Step.java:463)
        at com.canoo.webtest.steps.Step.execute(Step.java:139)


Any suggestion?

Have a look at <http://www.jroller.com/page/dna? entry=automated_tests_for_rss_feeds>.
This entry summarizes previous discussions on the mailing list.

Happy testing
        dna

--
A message consists of header fields and, optionally, a body.
  -- Official definition of e-mail in RFC 822

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

Reply via email to