[Webtest] Newbie questions on results formatting and cruise control integration

Lisa Crispin webtest@lists.canoo.com
Wed, 06 Jul 2005 19:25:30 +0000


--NextPart_Webmail_9m3u9jl4l_17876_1120677930_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

Hi Sean,
Here are a couple of archived emails that might help you:
http://lists.canoo.com/pipermail/webtest/2004q2/001763.html
http://lists.canoo.com/pipermail/webtest/2005q2/004141.html

-- Lisa


-------------- Original message from "Sean Pritchard" <spritchard@saffrontech.com>: -------------- 


Hi,

    I've been using webtest for a day and have been quite impressed.  It is very easy to learn and use.  Everyone on my team who I've shown it to has liked it.

    I'm able to successfully run tests, but other than watching the console for results, I'm not sure how to know the test has failed.  I'd like to have nicely formatted HTML that will be available on my build server (similar to how junit tests can be transformed via XSLT). I've seen a few passing mentions on the webtest website indicating this is possible, but no examples of how to do it.  Can anyone offer help?  My first problem is that I don't even get an xml output file with test results.  My next problem is, then what do I use to transform the results?

    My second question is on cruise control integration.  What is the recommended way to run a suite of webtests via cruise control?  I assume there is more to it that simply calling my ant file that defines the tests.  Do I have to call the webtest.bat to launch the tests, or is there a better way?


Thanks in advance,
Sean
--NextPart_Webmail_9m3u9jl4l_17876_1120677930_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit

<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>Hi Sean,</DIV>
<DIV>Here are a couple of archived emails that might help you:</DIV>
<DIV><A href="http://lists.canoo.com/pipermail/webtest/2004q2/001763.html">http://lists.canoo.com/pipermail/webtest/2004q2/001763.html</A></DIV>
<DIV><A href="http://lists.canoo.com/pipermail/webtest/2005q2/004141.html">http://lists.canoo.com/pipermail/webtest/2005q2/004141.html</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>-- Lisa</DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from "Sean Pritchard" &lt;spritchard@saffrontech.com&gt;: -------------- <BR><BR>
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375405117-06072005>&nbsp;&nbsp;&nbsp; <FONT face=Arial size=2>I've been using webtest for a day and have been quite impressed.&nbsp; It is very easy to learn and use.&nbsp; Everyone on my team who I've shown it to has liked it.</FONT></SPAN></DIV>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375405117-06072005>&nbsp;&nbsp;&nbsp; <FONT face=Arial size=2>I'm able to successfully run tests, but other than watching the console for results, I'm not sure how to know the test has failed.&nbsp; I'd like to have nicely formatted HTML that will be available on my build server (similar to how junit tests can be transformed via XSLT). I've seen a few passing mentions on the webtest website indicating this is possible, but no examples of how to do it.&nbsp; Can anyone offer help?&nbsp; My first problem is that I don't even get an xml output file with test results.&nbsp; My next problem is,&nbsp;then what do&nbsp;I use to transform the results?</FONT></SPAN></DIV>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375405117-06072005>&nbsp;&nbsp;&nbsp; <FONT face=Arial size=2>My second question is on cruise control integration.&nbsp; What is the recommended way to run a suite of webtests via cruise control?&nbsp; I assume there is more to it that simply calling my ant file that defines the tests.&nbsp; Do I have to call the webtest.bat to launch the tests, or is there a better way?</FONT></SPAN></DIV>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2>Thanks in advance,</FONT></SPAN></DIV>
<DIV><SPAN class=375405117-06072005><FONT face=Arial size=2>Sean</FONT></SPAN></DIV></BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>

--NextPart_Webmail_9m3u9jl4l_17876_1120677930_0--