Please don't include the text from an entire digest in your posts. It makes the thread very difficult to read.Bret
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
>The only resource I was able to find online pointed me back to
the test_logger.rb script in watir/examples/logging. This script
manually logs each action by doing a result/escape on each assertion to
output the result to a .txt file. While this works, it's tedious and
inefficient for a large scr
end
> $ie.text_field(:name, "username").set(casino_user)
> $ie.text_field(:name, "password").set(casino_password)
> if (($casino_url=~/wpt/) || ($casino_url=~/msn/) ||
> ($casino_url=~/vgfo/))
> $ie.button(:value, casino_submit_key)
Ruby's Logger object? What do you mean by "best"?
---Michael B.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Reed
Sent: July 19, 2006 9:51 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Best way to log Watir output?
W
Adam, If you want to create a log file look at logger which is a Ruby library, Watir makes use of it in WatirLogger. Otherwise if you're looking for a junit type of test run dashboard and you're using Test::Unit, take a look at Test Unit Reporter:
http://rubyforge.org/frs/?group_id=319It can dum
What is the best way to create a log file, or otherwise manipulate Watir
test output?
I am looking a building a framework for testing, and it would be nice to
output test results to a webpage, flat file, or even to a dashboard
"results window". I would want to include variables used (eg,
username