On Tue, Jun 28, 2011 at 3:55 PM, Parag Dave <[email protected]> wrote:
> How can i generate report (That has visual identification like Fail
> test is in red line or any symbol and Pass test is in Green) with
> watir. Also how much time it took in the one test script. Is there any
> tool or gem that help to create logger report generation that might in
> XML or HTML.

Sure, use RSpec gem:

http://rspec.info/
http://relishapp.com/rspec

> If possible please post the example code. or site that have example.

This will create html file named report.htm:

rspec file_name.rb --format html --out report.htm

More information:

http://relishapp.com/rspec/rspec-core/v/2-6/dir/command-line/format-option

Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host

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

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to