On Wednesday, March 13, 2013 4:56:52 AM UTC-7, Željko Filipin wrote:

> On Wed, Mar 13, 2013 at 8:28 AM, Sohail Mirza <mrz...@gmail.com<javascript:>
> > wrote:
>
>> i need to create HTML reports in Watir.
>
>
> Watir "just" drives browsers, it does not create reports. I think that all 
> testing frameworks (test/unit, rspec, cucumber) have reporting. I use 
> cucumber and it has really nice HTML report.
>
> Željko
> --
> https://leanpub.com/watirbook
>

I'll second this, there are also a number of other great reasons to use 
cucumber  (see the first two chapters of the book Specification by Example, 
free at this link  http://www.manning.com/adzic/

The example you noted above is just using ordinary ruby scripting commands 
to create an html report as the script runs.  which is fine if you want 
everything in one long script (bad Idea really) but harder to implement if 
you want to be able to run individual scripts, sections, or a whole suite 
as your needs require. 

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to