[Webtest] REPOSTING: What component is throwing this error?
Dierk Koenig
webtest@lists.canoo.com
Wed, 5 Jul 2006 22:21:08 +0200
and if that JS is not relevant for your test, you can disable it
via
<enableJavaScript enable="false" />
to avoid the error below.
cheers
Mittie
> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Curelea, Alexandru
> Sent: Mittwoch, 5. Juli 2006 17:47
> To: webtest@gate2.canoo.com
> Subject: RE: [Webtest] REPOSTING: What component is throwing this error?
>
>
> Hi Doug,
>
> That error usually means that WebTest (or HtmlUnit, specifically)
> has trouble running some of the javascript on your site.
>
> Start by looking at
> https://trading.mywebsite.com/common/StockOrderEntry.js line 78,
> and see what the javascript looks like ("Cannot read property
> "options" from null" probably means you have something.options
> and something is null? I'm not a javascript expert).
>
>
> -----Original Message-----
> From: webtest-admin@gate2.canoo.com
> [mailto:webtest-admin@gate2.canoo.com]On Behalf Of dlundin@aol.com
> Sent: Wednesday, July 05, 2006 11:34 AM
> To: webtest@gate2.canoo.com
> Subject: [Webtest] REPOSTING: What component is throwing this error?
>
>
> Hello,
>
> I am new to WebTest and am already very interested in learning
> more but have run into a problem and have not been successful
> understanding which component is throwing the error. I have seen
> this same exact error from two different websites under test. Is
> this a javascript error or webtest or ...?
>
> The error:
>
> BUILD FAILED
> C:\webtest\doc\doc\samples\mywebsiteTest.xml:11: Canoo Webtest: R_1357.
> Test failed.
> Test step clickButton
> (C:\webtest\doc\doc\samples\mywebsiteTest.xml:43: ) named
> "Click the submit button" failed with message "Step[clickButton
> "Click the subm
> it button" (6/12)]: Script error loading page executing webtest
> at: clickButton
> TypeError: Cannot read property "options" from null
(https://trading.mywebsite.c
om/common/StockOrderEntry.js#78)
Source code:
function () {
[native code, arity=0]
}
"
Total time: 5 seconds
Can anyone shed any light on where I should start?
Thanks
Doug
Check out AOL.com today. Breaking news, video search, pictures, email and
IM. All on demand. Always Free.
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest