[Webtest] New to webtest - installation error

Jason Nah webtest@lists.canoo.com
Sat, 28 Aug 2004 16:31:18 +1000 (EST)


Folks,

Just trying to get this going... and i ran ant -f
installTest in the docs/samples directory and got
this:

Buildfile: loginTest.xml

main:
 [testSpec] ERROR (Step.java:333) - Cannot handle
unexpected exception in step InvokePage at C:\beth
elbpcws\bethelbpc\test\acceptance-tests\loginTest.xml:21:
 with (stepId="Get Login Page", url="splas
h.php", stepType="invoke")
 [testSpec] java.lang.NullPointerException
 [testSpec]     at
com.canoo.webtest.engine.Context.setLastResponseForStep(Context.java:119)
 [testSpec]     at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:119)
 [testSpec]     at
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:153)
 [testSpec]     at
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:37)
 [testSpec]     at
com.canoo.webtest.steps.Step.execute(Step.java:99)
 [testSpec]     at
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
 [testSpec]     at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68
)
 [testSpec]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 [testSpec]     at
org.apache.tools.ant.Task.perform(Task.java:364)
 [testSpec]     at
org.apache.tools.ant.Target.execute(Target.java:341)
 [testSpec]     at
org.apache.tools.ant.Target.performTasks(Target.java:369)
 [testSpec]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
 [testSpec]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
 [testSpec]     at
org.apache.tools.ant.Main.runBuild(Main.java:673)
 [testSpec]     at
org.apache.tools.ant.Main.startAnt(Main.java:188)
 [testSpec]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
 [testSpec]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)


Any Ideas?

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com