[Webtest] Re: VerifyLinks
Rinkesh Bansal" <firstname.lastname@example.org
Thu, 24 Jul 2008 10:14:19 +0530
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
email@example.com | Cell: +91 93261 76376 | Tel: +91 (20)
Innovation in software product design, development and delivery-
From: firstname.lastname@example.org [mailto:email@example.com]
On Behalf Of firstname.lastname@example.org
Sent: Wednesday, 23 July 2008 8:07 AM
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.