Hi I recently started to use jWebUnit and am happy to see it coming alive again :)
I am trying to get past a testcase that uses JavaScript and produces an error for HttpUnit. It seems that I can ignore the error (causing the test to fail) by following this info: http://httpunit.sourceforge.net/doc/faq.html#unsupported However, I can't seem to do that via jWebUnit ... just calling that from the test case doesn't seem to be any effect. The error I have been getting is: com.meterware.httpunit.ScriptException: Event 'od_osuusarvolistform_SetDirty()' failed: org.mozilla.javascript.EvaluatorException: The undefined value has no properties. at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScri ptException(JavaScript.java:182) [cut] I want the JavaScript to run as it is setter for if a form input is dirty or not, which is then checked by the servlet, so I want to allow it to run, but not to cause a test failure. Any suggestions? <= Alex => ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Jwebunit-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
