[Webtest] Re: VerifyLinks
Marc Guillemot <email@example.com>
Thu, 24 Jul 2008 09:36:54 +0200
I would add option (4): provide information to allow HtmlUnit to support
the piece of JS that causes problem. This may take a bit time, but as
long as nobody reports a problem, it will never get fixed. On the other
side, reported errors allow to improve the js support and HtmlUnit-2.2
will soon bring a lot of improvements.
Rinkesh Bansal wrote:
> Hi David,
> There are 3 solutions to your problem. Listing them all with pros and cons:
> 1. Use <option name="ThrowExceptionOnScriptError" value="false"/>
> 2. use ignoreForeignJSErrors
> from the current page
> at your will for specific part of your code.
> Based on your requirement you can use anyone of them. We have used all the
> 3 options in our automation.
> Thanks & Regards,
> Rinkesh Bansal | Team Lead | Persistent Systems Ltd
> firstname.lastname@example.org | Cell: +91 93261 76376 | Tel: +91 (20)
> 3023 6792
> Innovation in software product design, development and delivery-
> From: email@example.com [mailto:firstname.lastname@example.org]
> On Behalf Of email@example.com
> Sent: Wednesday, 23 July 2008 8:07 AM
> To: firstname.lastname@example.org
> Subject: [Webtest] VerifyLinks
> I have a site that I am testing with the following:
> <verifyLinks depth="11" onsiteonly="true" excludes=".*js.*"/>
> receiving errors for the following:
> I thought it would skip over this file since i didn't want it looked
> Also, does anyone have good examples of using reportLinks and ReportSite?
> Not quite sure the difference between the 2 except that reportSite appears
> to work if you provide the sub element and reportLinks just seems to
> short-circuit to true.
> This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
> WebTest mailing list