[Wtr-general] Automating the running & reporting of watir tests

Paul Hammer paul_hammer at hotmail.com
Wed Dec 20 19:30:39 EST 2006


Hi Thomas,

I too am fairly new at using WATIR.  The approach I'm using is pretty simple 
to begin with:

1) I'm running on XP calling multiple WATIR tests from a batch file, where 
the output of each test is redirected and appended to a .log file.

2) I'm then using a RUBY class I copied off the web (and modified) that 
emails the contents of the .log file to interested parties.  Any errors are 
in the .log files.

3) Here the web site source code and the WATIR/ruby code are stored 
separately in source control because different people write the product code 
and test code (engineering vrs. QA).

Paul


>From: <Thomas.Vaughan at usitc.gov>
>Reply-To: wtr-general at rubyforge.org
>To: <wtr-general at rubyforge.org>
>Subject: [Wtr-general] Automating the running & reporting of watir tests
>Date: Tue, 19 Dec 2006 15:34:34 -0500
>
>Hi,
>
>I just started using WATIR and fell in love at first sight.  I'm sure
>what I'm trying to do has been done before, so I thought I'd throw a net
>out here and see what I catch...
>
>Our dev team is building a half-dozen different apps (WARs) that, as a
>whole, will eventually replace a legacy application.  We've started
>writing WATIR tests to check some of the individual WARs, but what I'm
>hoping to do is get some advise on:
>
>	1) How do people schedule automatic execution of a bunch of
>different WATIR tests, similar to Continuum might do.  Is everyone out
>there writing their own cron + scripts?
>
>	2) Is there are pre-built "watir-harness" that will email
>someone when a test doesn't run as expected?
>
>	3) Do people typically source control their WATIR tests along
>side the code that's under test?  Or do they typically group all their
>WATIR tests together in a separate project for
>ease-of-reuse/ease-of-discovery purposes?
>
>Thanks in advance!
>Tom Vaughan
>
>_______________________________________________
>Wtr-general mailing list
>Wtr-general at rubyforge.org
>http://rubyforge.org/mailman/listinfo/wtr-general

_________________________________________________________________
Find sales, coupons, and free shipping, all in one place!  MSN Shopping 
Sales & Deals 
http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639



More information about the Wtr-general mailing list