Clicking Link with JWebUnit
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sireesha_Dasaraju
Posted On:   Thursday, June 30, 2005 03:44 PM

I have a JWebUnit for a JSP page with a link. The link makes a call to a JavaScript functions which does a 'document.createElement('input')'. I am getting the following error when this line is executed. I do have the js.jar (from rhino) in my class path. Any help would be greatly appreciated. Thanks!! at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptException(JavaScript.java:192) at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:165) at com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55) at com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:22   More>>

I have a JWebUnit for a JSP page with a link. The link makes a call to a JavaScript functions which does a 'document.createElement('input')'. I am getting the following error when this line is executed. I do have the js.jar (from rhino) in my class path.

Any help would be greatly appreciated. Thanks!!


			

at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptException(JavaScript.java:192)
at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:165)
at com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55)
at com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:224)
at com.meterware.httpunit.WebLink.click(WebLink.java:90)
   <<Less
About | Sitemap | Contact