Hi!
I'm new to Webtest and I wonder if I can use it to crawl parts of my
site to do some basic testing on all of the important pages.
I'd like to check if the XHTML is well-formed or even valid because
some areas are editable by people in the marketing department and they
don't care for code quality. Also I need to check the existence of
follow/index meta tags for lots of pages. Can I use Webtest for that?
I found reportSite in the docs (actually it's rather mentioned than
documented). It doesn't work as I expected. There are a few posts on
this list about reportSite but unfortunately no helpful answers.
http://lists.canoo.com/pipermail/webtest/2006q1/005164.html
http://lists.canoo.com/pipermail/webtest/2006q3/006751.html
http://lists.canoo.com/pipermail/webtest/2008q1/009821.html
I tried a step like this
<invoke url="http://www.${wt.config.base}/" />
<reportSite depth="1">
<verifyTitle text=".*100.*" regex="true" />
</reportSite>
and get lots of success und failures, too, for verifyTitle but the
whole test succeeds (it shouldn't). Also all pages that are stored for
the errors in the reports are the home page. I don't see why some
steps fail and some don't if only the home page is tested.
Maybe this message is confusing, I'm also confused.
Thanks very much for helping!
Martin
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest