>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 script.  I thought there would have to be a
better way, such as "grabbing" the SCIte output, since it contains
exactly what I would want.

If all you want to do it to grab the output, the simple thing to do is to
pipe the output to a file:

myscript.rb > outputfile.txt

That's simplest; it may not be best.

>Someone has now suggested that I take a look at WET to accompany
Ruby.  Is this, or another method, an accepted "best practice" as far as
Watir scripting goes?

There are no best practices.  Who cares what other people claim is best?
What works for /you/?

---Michael B.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to