Javascript-errors

View: New views
4 Messages — Rating Filter:   Alert me  

Javascript-errors

by Niels Stevens :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

Upon clicking a certain element in a page which opens another page with javascript, webtest reports a javascript error, while clicking that same element manually opens the page. Is there a way in webtest to ignore javascript errors without disabling javascript?

 


Re: Javascript-errors

by Marc Guillemot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

<config>
<option name="throwExceptionOnScriptError" value="false"/>
</config>

but better is to isolate the cause of the JS error to allow it to be
fixed ;-)

Cheers,
Marc.

Niels Stevens a écrit :

> Hi,
>
>  
>
> Upon clicking a certain element in a page which opens another page with
> javascript, webtest reports a javascript error, while clicking that same
> element manually opens the page. Is there a way in webtest to ignore
> javascript errors without disabling javascript?
>
>  
>

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

RE: Javascript-errors

by Niels Stevens :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thx, this worked for a while, but now I am again getting js errors in every test that are stopping the test. The <option name="throwExceptionOnScriptError" value="false"/> tag is added in every test. I don't get it, sometimes it works, sometimes it doesn't.

Groeten,

Niels Stevens
Jr. Developer



Making eBusiness profitable

T: +32 (0)11/565.012
F: +32 (0)11/201.884

website: www.softlution.com


-----Oorspronkelijk bericht-----
Van: webtest-admin@... [mailto:webtest-admin@...] Namens Marc Guillemot
Verzonden: donderdag 15 oktober 2009 9:14
Aan: webtest@...
Onderwerp: Re: [Webtest] Javascript-errors

Hi,

<config>
<option name="throwExceptionOnScriptError" value="false"/>
</config>

but better is to isolate the cause of the JS error to allow it to be
fixed ;-)

Cheers,
Marc.

Niels Stevens a écrit :

> Hi,
>
>
>
> Upon clicking a certain element in a page which opens another page with
> javascript, webtest reports a javascript error, while clicking that same
> element manually opens the page. Is there a way in webtest to ignore
> javascript errors without disabling javascript?
>
>
>

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.18/2437 - Release Date: 10/15/09 03:57:00
_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

Re: Javascript-errors

by Marc Guillemot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

if your app relies on correct JS evaluation and if this fails, then it
is normal that you get strange results while ignoring JS errors.

Cheers,
Marc.

Niels Stevens a écrit :

> Thx, this worked for a while, but now I am again getting js errors in every test that are stopping the test. The <option name="throwExceptionOnScriptError" value="false"/> tag is added in every test. I don't get it, sometimes it works, sometimes it doesn't.
>
> Groeten,
>
> Niels Stevens
> Jr. Developer
>
>
>
> Making eBusiness profitable
>
> T: +32 (0)11/565.012
> F: +32 (0)11/201.884
>
> website: www.softlution.com
>
>
> -----Oorspronkelijk bericht-----
> Van: webtest-admin@... [mailto:webtest-admin@...] Namens Marc Guillemot
> Verzonden: donderdag 15 oktober 2009 9:14
> Aan: webtest@...
> Onderwerp: Re: [Webtest] Javascript-errors
>
> Hi,
>
> <config>
> <option name="throwExceptionOnScriptError" value="false"/>
> </config>
>
> but better is to isolate the cause of the JS error to allow it to be
> fixed ;-)
>
> Cheers,
> Marc.
>
> Niels Stevens a écrit :
>> Hi,
>>
>>
>>
>> Upon clicking a certain element in a page which opens another page with
>> javascript, webtest reports a javascript error, while clicking that same
>> element manually opens the page. Is there a way in webtest to ignore
>> javascript errors without disabling javascript?
>>
>>
>>
>
> _______________________________________________
> WebTest mailing list
> WebTest@...
> http://lists.canoo.com/mailman/listinfo/webtest
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.421 / Virus Database: 270.14.18/2437 - Release Date: 10/15/09 03:57:00
> _______________________________________________
> WebTest mailing list
> WebTest@...
> http://lists.canoo.com/mailman/listinfo/webtest
>

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest