Hi Marc, i face the problem that i want to test an application that is deployed into different environments, where JavaScript functionality differs (with / without banner, clicktracker, etc.) and that is sometimes turned on / off. This JavaScript functionality is, at this time, not scope of the tests. But that certain environment needs to be tested, because of its similarity to the live environment.
So I need to surpress certain exceptions that occur if certain banners, etc. are active just to run the test suite. But I want to be notified, if javascript exceptions occur within the core application. A filter policy might be defined by exception type (e.g. Wrapped com.gargoylesoftware.htmlunit.ScriptException: ReferenceError) and/or exception message (e.g. "* is not defined"). Cheers, Christoph -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot Gesendet: Donnerstag, 27. März 2008 16:15 An: [email protected] Betreff: Re: [Webtest] JavaScript Exception Filter this would rather be a job for WebTest than for HtmlUnit but can you explain a bit what you mean? Cheers, Marc. -- Blog: http://mguillem.wordpress.com Christoph Witych wrote: > Hi Marc, hi all, > > did anybody encounter or solve the problem, that you didn't just want to > turn on or off "ThrowExceptionOnScriptError" by using > > <option name="ThrowExceptionOnScriptError" value="[true/false]" /> > > but wanted to selectively filter certain JavaScript exceptions? Are > there HtmlUnit configuring options that address the problem? > > > Thanks for your help in advance! > Christoph > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

