Well, each page will get tested individually, and the JS isn't foreign(I'm 
assuming that means foreign to the site domain) - it's script.aculo.us - 
works pretty well with the Grails website. There's just an error in some 
3rd party code and we would be better off to ignore it for the spider. 
Like i said, each page will get tested after that step.

I'm still curious as to the differences between verifyLinks, reportSite, 
and reportLinks.




Marc Guillemot <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07/23/2008 03:51 AM
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
Re: [Webtest] VerifyLinks






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