Hi, the information isn't enough to have an idea of the problem ;-( It is not the original error but I've noticed that your code uses showModelessDialog, which is not supported in HtmlUnit-2.3 (but already there in HtmlUnit-2.4-SNAPSHOT)
Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com jpyork wrote: > I have uploaded the source for the window that I am trying to click the > button on... > > Marc Guillemot wrote: >> Hi, >> >> the usual answer for such a problem, when it doesn't occur in your >> "normal" browser is: >> - can you pick the latest snapshots of HtmlUnit-2.4 jars and use them in >> place of the 2.3 versions in your WebTest's lib dir. It contains a huge >> number of improvements in JS support compared to release 2.3: >> http://build.canoo.com/htmlunit/artifacts//htmlunit-2.4-SNAPSHOT.jar >> http://htmlunit.sourceforge.net/m2-repo-snapshots/net/sourceforge/htmlunit/htmlunit-core-js/2.4-SNAPSHOT/htmlunit-core-js-2.4-SNAPSHOT.jar >> >> - if the problem persists, please provide the smallest example allowing >> to reproduce the error. >> >> Cheers, >> Marc. >> -- >> Web: http://www.efficient-webtesting.com >> Blog: http://mguillem.wordpress.com >> >> jpyork wrote: >>> I setup a plain test, all it did was invoke a url...input a >>> userid/password..check a box and click a button to sign-in....this test >>> worked fine and was having no issues...I went on vacatoin for a few >>> days.....came back and ran it again to start working on it some more and >>> it >>> does not work anymore...nothing has changed to the login page....and here >>> is >>> the error I now get that I was not getting before: >>> >>> JavaScript error loading page http://1.2.3.4:9090/project/view/SignOn: >>> Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot >>> set >>> property "location" of undefined to "FrameFooter.jsp" (script in >>> http://1.2.3.4:9090/project/view/SignOn from (4, 54) to (26, 10)#24) >>> (script >>> in http://1.2.3.4:9090/project/view/SignOn from (17, 31) to (104, 10)#38) >> >> _______________________________________________ >> WebTest mailing list >> [email protected] >> http://lists.canoo.com/mailman/listinfo/webtest >> >> > http://www.nabble.com/file/p20862468/source.txt source.txt _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

