Multiple <webtest> tags in one target
Eric Bunton <[email protected]>
| Newsgroups | gmane.comp.web.canoo.webtest |
|---|---|
| Message-ID | <[email protected]> |
I currently have multiple webtest tags within one target/project while it runs all of the webtests I do not get the report for all of the tests. Looking at the output on the terminal I get a lot of exceptions thrown. Here is an example of my test file. I have cut out the actual url for privacy reasons. If anyone could help it would be greatly appreciated.
<project name="xpress WS Test" basedir="." default="xpressWSTest">
<target name="xpressWSTest">
<webtest name="xpress WS Production Test">
<invoke
url="http://url.com"
description="xpress WS Test Production" />
<verifyXPath description="CID" text="CID-0000002184319" XPath="/ref:ONIXMessage/ref:Product//ref:ProductIdentifier/ref:IDValue"/>
</webtest>
<webtest name="xpress WS Processing Test">
<invoke
url="http://url.com"
description="xpress WS Test Processing" />
<verifyXPath description="CID" text="CID-0000002184319" XPath="/ref:ONIXMessage/ref:Product/ref:ProductIdentifier/ref:IDValue"/>
</webtest>
</target>
</project>