[Webtest] [reportSite]: no url for crawling of Spider generated

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Mon, 16 Jun 2008 09:49:22 +0200


It would make sense to add the url of the current page to all error
messages. Can you open an issue for that?

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


Achim Westermann wrote:
> Hi list, 
> 
> I am using the reportSite step to crawl a site. In the results I cannot find any URL of the crawled page. So if any page has an unsuccessful verification step it is impossible to know the failing page. 
> I am using the following test: 
> 
> <?xml version="1.0"?>
> 
> <!DOCTYPE project SYSTEM "../dtd/Project.dtd">
> 
> <project default="test">
> 
> 	<target name="test">
> 
> 		<webtest name="crawl jchart2d">
> 			<invoke url="http://xxx.net" description="Go to xxx"/>
> 		     <reportSite depth="1">
>         <verifyDocumentURL text=".+" regex="true"/>
>      </reportSite> 
> 		</webtest>
> 
> 	</target>
> </project>
> 
> 
> Am I missing some trick? 
> 
> kind regards, 
> 
> Achim
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>