Hi Marc,
thank you for your answer.
I schould read the manual more accurate.
Stephan
Marc Guillemot schrieb:
Hi,
seems to be related to missing support for plugins or mimeTypes
properties on the Navigator js object. Please open issue for that by
HtmlUnit.
To ignore js errors you can use <option
name="ThrowExceptionOnScriptError" value="false">. See
http://webtest.canoo.com/webtest/manual/option.html
Otherwise you can do it within your steps with
<groovy>
step.context.webClient.throwExceptionOnScriptError = false
</groovy>
This second option can be used to reactivate throwExceptionOnScriptError
once the problematic page has been handled to be sure to detect other JS
errors.
Marc.
Stephan Wiese wrote:
Hi,
I'm trying to run a Webtest on a page with Google Adsense. Every thing
runs fine besides parsing the JavaScript from Google.
------------
Cannot read property "length" from undefined
(http://pagead2.googlesyndication.com/pagead/show_ads.js#24) Source code:
------------
As far I know has Google implement his script in a way, that it runs not
separate.
Now I' m looking for a way to ignore this error in the Reports.
Are there suggestions how I can handle this under webtest?
Thanks
Stephan
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest