ok...how about this....I can now see that the login page was changed while I was off....here is what they changed....I think it is because my default browser is Firefox and they seemed to of added some firefox stuff to the login page....
these are the changes: Contact Us<br> Toll Free: 1-800-123-5638<br> Website: http://www.company.com www.company.com <br> to: <input type="button" name="contact_us" id="contact_us" value="Contact Us" class="btn_signon_contactus" onClick="contactus();" onMouseOver="self.status='Sign On'; return true;" onMouseOut="self.status=''; return true;"><br><br> so they added a contact us button..that on the page is below the button I am trying to click. they also added this: function contactus(){ if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){ window.open('ContactUs', 'newwindow', 'height=150, width=200, top=100, left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=no'); } else { window.showModelessDialog("ContactUs","","dialogWidth:200px;dialogheight:150px;status:no;scroll:yes;help:no"); } } So is there a way to tell webtest to use IE for its test? Marc Guillemot wrote: > > Hi, > > this doesn't help: I don't have access to your server. > > Cheers, > Marc. > -- > Web: http://www.efficient-webtesting.com > Blog: http://mguillem.wordpress.com > > john-paul york wrote: >> Here is how I get to the point I am at. I even uninstalled the whole >> program and installed it again because it was working before. So after >> a fresh install all I do is change googleWebTest.xml file to the >> following: >> >> <?xml version="1.0"?> >> <!DOCTYPE project SYSTEM "../dtd/Project.dtd"> >> <project default="test"> >> <target name="test"> >> <webtest name="QA2 Test"> >> <invoke >> url="http://10.1.1.1:9090/project/view/SignOn" >> description="English signon page" /> >> <verifyTitle >> text="home page" >> description="we should see sign on page" /> >> <setInputField >> name="firmCode" >> value="qa" >> /> >> <setInputField >> name="userCode" >> value="qa_test6" >> /> >> <setInputField >> name="password" >> value="Passw0rd" >> /> >> <setCheckbox description="Authorize" >> name="consentCheckBox" >> checked="true" /> >> <clickButton description="Login" name="SignOn" /> >> </webtest> >> </target> >> </project> >> >> >> At this point I change the alltests.xml file to only run this test and >> remove the groovey tests from the webtest.xml file. >> >> I then run the standard build.xml file and then get this error: >> >> JavaScript error loading page http://10.1.1.1:9090/project/view/SignOn: >> Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot >> set property "location" of undefined to "FrameFooter.jsp" >> (http://10.1.1.1:9090/project/view/SignOn from (4, 54) to (26, 10)#24) >> (http://10.1.1.1:9090/project/view/SignOn from (17, 31) to (104, 10)#38) >> >> I don't understand why it is now looking for or using "FrameFooter.jsp" >> I did not see that when the test was working. If you want to see the >> source for the login page I might be able to get that also. >> >> JP >> >>> From: [EMAIL PROTECTED] >>> To: webtest@lists.canoo.com >>> Subject: Re: [Webtest] intresting error >>> Date: Fri, 5 Dec 2008 09:00:43 +0100 >>> >>> 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 >>> WebTest@lists.canoo.com >>> http://lists.canoo.com/mailman/listinfo/webtest >> >> >> ------------------------------------------------------------------------ >> Win a trip with your 3 best buddies. Enter today. >> <http://www.messengerbuddies.ca/?ocid=BUDDYOMATICENCA19> > > > _______________________________________________ > WebTest mailing list > WebTest@lists.canoo.com > http://lists.canoo.com/mailman/listinfo/webtest > > -- View this message in context: http://www.nabble.com/Re%3A-intresting-error-tp20849293p20858547.html Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest