So I have gotten this issue fixed..or at least around and have found the
issue why (I think)  The issue was account information and how the web app
handled the account.  The issue was as far as I can see that I was using
login information that either a) had someone logged in with it already or b)
the account was not logged out properly.  With either of these situations
when webtest went to click on the button it would some how or for some
reason see the next page before clicking the button because the
"framefooter.jsp" it was looking for was on the next page after the sign on
page.  I have since got our QA department to create an account only I can
use and the tests work fine.

JP

Marc Guillemot wrote:
> 
> 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
>>> WebTest@lists.canoo.com
>>> http://lists.canoo.com/mailman/listinfo/webtest
>>>
>>>
>> http://www.nabble.com/file/p20862468/source.txt source.txt 
> 
> 
> 
> _______________________________________________
> 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-tp20849293p20936414.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

Reply via email to