[Webtest] popup assistent

Renato Gasparelli Cavalcante webtest@lists.canoo.com
Mon, 26 Apr 2004 15:11:41 -0300


    Does webtest support a popup assistant? I write a test and when i 
execute it, the following message and trace is returned. Somebody can 
help me ?

main:
 [testSpec] org.mozilla.javascript.JavaScriptException: 
com.meterware.httpunit.HttpException: Error on HTTP request: 505 HTTP
...
 [testSpec]     at 
org.mozilla.javascript.JavaScriptException.wrapException(JavaScriptException.java:70)
 [testSpec]     at 
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:418)
 [testSpec]     at 
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2179)
 [testSpec]     at 
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2173)
 [testSpec]     at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:58)
 [testSpec]     at 
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:162)
 [testSpec]     at 
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55)
 [testSpec]     at 
com.meterware.httpunit.Button.doOnClickEvent(Button.java:85)
 [testSpec]     at com.meterware.httpunit.Button.click(Button.java:68)
 [testSpec]     at 
com.canoo.webtest.steps.request.ClickButton$1.call(ClickButton.java:120)
 [testSpec]     at 
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)
 [testSpec]     at 
com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)
 [testSpec]     at 
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)
 [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.Task.perform(Task.java:341)
 [testSpec]     at org.apache.tools.ant.Target.execute(Target.java:309)
 [testSpec]     at org.apache.tools.ant.Target.performTasks(Target.java:336)
 [testSpec]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
 [testSpec]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
 [testSpec]     at org.apache.tools.ant.Task.perform(Task.java:341)
 [testSpec]     at org.apache.tools.ant.Target.execute(Target.java:309)
 [testSpec]     at org.apache.tools.ant.Target.performTasks(Target.java:336)
 [testSpec]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
 [testSpec]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
 [testSpec]     at org.apache.tools.ant.Main.runBuild(Main.java:609)
 [testSpec]     at org.apache.tools.ant.Main.start(Main.java:196)
 [testSpec]     at org.apache.tools.ant.Main.main(Main.java:235)