[Webtest] Custom Step VerifyContentType added to community web site

Paul King webtest@lists.canoo.com
Tue, 10 Aug 2004 20:27:17 +1000


I have added the following custom step to the community web site:

http://webtest-community.canoo.com/wiki/space/VerifyContentType

 From the description:

This custom step provides the ability to check content type of a page.

An example:

<target name="testImage" depends="init">
<testSpec name="testImage">
   &config;
   <steps>
     <invoke
       stepid="Load Image"
       url="resources/images/linevertical.gif"/>
     <verifyContentType
       stepid="Should be a gif"
       text="image/gif"/>
   </steps>
</testSpec>
</target>

Cheers, Paul.
P.S. Sorry for all the noise, but I have to document all custom steps 
for a project that my company is working on.