Hello again,

I'm trying to use scriptStep to execute some _javascript_ and I'm getting the following error:

[scriptStep]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: scriptStep "submit the form" (3/4)
[scriptStep] ERROR (org.apache.bsf.BSFManager) - Exception :
[scriptStep] java.lang.ClassNotFoundException: org.apache.bsf.engines._javascript_._javascript_Engine
[scriptStep]    at java.net.URLClassLoader$1.run(URLClassLoader.java :199)
... blah blah blah ...
[scriptStep]    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[scriptStep]  INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1217.
[scriptStep]  INFO ( com.canoo.webtest.steps.Step) - Exception thrown from this class: com.canoo.webtest.engine.StepExecutionException
[scriptStep]  INFO (com.canoo.webtest.steps.Step) - Message was: Error invoking script: java.lang.ClassNotFoundException : org.apache.bsf.engines._javascript_._javascript_Engine
 INFO (com.canoo.webtest.ant.WebtestTask) - Test report successfully created.

I looked in my classpath and the bsf-20060503.jar is in the lib dir under Canoo Web Test.  The rest of the jar files are obviously being picked up because the test even runs.  One would think that if the classpath was outta whack it wouldn't even run the first two steps in this test (the scriptStep being the third step).

Any ideas?

Thanks!
Trent

Reply via email to