I've just checked out the webtest plugin, added a very basic webtest script
to ${basedir} /webtest and run maven webtest.
Am I missing any other dependencies apart from the two jars
(webtest-256.jar, webtest-antrunner-256.jar) found in the plugins /jars
directory?
Should I be specifying anything using :
maven.webtest.jar.fileset.dir=
maven.webtest.jar.fileset.include=
It's not clear from the documentation that there are any other dependencies
necessary but I assume that I at least need NeckoHTML as I'm getting the
exception trace below
Regards,
Saimon
Exception raised: java.lang.NoSuchMethodErrorjava.lang.NoSuchMethodError
at com.meterware.httpunit.DOMParser.<init>(NekoHTMLParser.java:125)
at com.meterware.httpunit.DOMParser.newParser(NekoHTMLParser.java:85)
at com.meterware.httpunit.NekoHTMLParser.parse(NekoHTMLParser.java:48)
at com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:249)
at
com.meterware.httpunit.WebResponse.getReceivedPage(WebResponse.java:918)
at
com.meterware.httpunit.WebResponse.addFrameTags(WebResponse.java:905)
at com.meterware.httpunit.WebResponse.getFrames(WebResponse.java:895)
at
com.meterware.httpunit.WebResponse.getFrameNames(WebResponse.java:261)
at com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:83)
at
com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:184)
at
com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:472)
at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:167)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:111)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:91)
at com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
at com.canoo.webtest.steps.request.Target.getResponse(Target.java:258)
at com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:221)
at com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:185)
at
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:42)
at
com.canoo.webtest.steps.AbstractTestStepSpecification.execute(AbstractTestSt
epSpecification.java:57)
at
com.canoo.webtest.engine.ConfigurableTestCase.runTest(ConfigurableTestCase.j
ava:34)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestCase.run(TestCase.java:111)
at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:56)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>