Dear Sir,
When I was testing a webpage using beginAt(url), I've got javascript
exception like below:
2797 ERROR [main] com.gargoylesoftware.htmlunit.html.HtmlPage : Error
loading javascript from [http://:]:
which was actually caused by the prototype.js#3947:
document.write("<script id=__onDOMContentLoaded defer
src=//:><\/script>");
I read somewhere that the htmlunit's webclient that jwebunit is using is
actually pretending to be MSIE and it choked on the above line.,
Is there any solution that can I can use to fix the above? will
disableJavaScriptException will help? how?
Currently I have to disable scripe in the testcode to make it work. But I
would prefer to test the javascript later using HtmlUnit.
Thanks,
Eve
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users