what about ignoreForeignJSErrors?
http://webtest.canoo.com/webtest/manual/verifyLinks.html

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


Conor MacMahon wrote:
> Hi David,
>             I had a similar problem late last week, some JavaScript
> files where changed on a public website I use verifyLinks on, but whose
> content I do not control. I got around the JavaScript error, by
> disabling the JavaScript validation via the config setting (i.e. note
> the ThrowExceptionOnScriptError option set to false):
>  
> <config host="${host}" port="${port}" protocol="http"
>     basepath="${webapp.name}" resultpath="${resultPath}" saveresponse="true"
>     resultfile="web-tests-result.xml" summary="true">
>     <header name="Accept-Language" value="${user.language}"/>
>     <option name="ThrowExceptionOnScriptError" value="false" />
> </config>
>  
> This may be too drastic for you, in that you may want to see JavaScript
> errors. However, it's good to know this can be a solution to you, if you
> don't get another from someone else.
>  
> HTH,
> Conor
> 
> ------------------------------------------------------------------------
> *From:* [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] *On Behalf Of
> [EMAIL PROTECTED]
> *Sent:* Wednesday, 23 July 2008 8:07 AM
> *To:* [EMAIL PROTECTED]
> *Subject:* [Webtest] VerifyLinks
> 
> 
> I have a site that I am testing with the following:
> 
> <verifyLinks depth="11" onsiteonly="true" excludes=".*js.*"/>
> 
> I want to test 11 levels deep and ignore any javascripts files. I'm
> still receiving errors for the following:
> 
> http://127.0.0.1:8080/js/prototype/dragdrop.js#600
> 
> I thought it would skip over this file since i didn't want it looked after.
> 
> 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.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to