It looks like you have two versions of Xerces and its accompanying
apis jar. This would happen of you installed a new version of
WebTest over the top of an old version. I suggest you get rid of
the old jars, i.e. delete xercesImpl-2.6.2.jar and I think
xmlParserAPIs-2.2.1.jar.

Cheers, Paul.

[email protected] wrote:
Hi,
My Test script is using the example from the WebTest site as shown below:

<verifyXPath description="simple match with value"
        xpath="/html/head/title"
        text="Canoo WebTest"/>

But it gives me an exception and the following stack trace:

--- Nested Exception ---
java.lang.NoSuchMethodError: org/apache/xpath/VariableStack.<init>(I)V
             at org.apache.xpath.jaxp.JAXPVariableStack.<init>
(JAXPVariableStack.java:45)
             at com.canoo.webtest.engine.xpath.XPathHelper.eval
(XPathHelper.java:397)
             at com.canoo.webtest.engine.xpath.XPathHelper.stringValueOf
(XPathHelper.java:258)
             at com.canoo.webtest.steps.verify.VerifyXPath.verifyXPath
(VerifyXPath.java:79)
             at com.canoo.webtest.steps.verify.VerifyXPath.doExecute
(VerifyXPath.java:67)
             at com.canoo.webtest.steps.Step.execute(Step.java:103)


I took a look at the lib directory and it seems to contain a current
version of the xalan jar files as show below:

xalan-2.7.1.jar
xercesImpl-2.6.2.jar
xercesImpl-2.8.1.jar
xml-apis-1.3.04.jar
xmlParserAPIs-2.2.1.jar


Any ideas?
Thanks
Mark Winney
Metavante (414) 577-9553
mark.winney(AT)metavante.com
---------------------------------------------------------------------
This message contains confidential and proprietary information of the
sender, and is intended only for the person(s) to whom it is addressed.
Any use, distribution, copying or disclosure by any other person is
strictly prohibited.  If you have received this message in error, please
notify the e-mail sender immediately, and delete the original message
without making a copy.

_______________________________________________
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