Dear all,
I use example_logger1.rb and test_logger1.rb
C:\watir1145\examples\logging to logging, but a problem is that the
generated log file will under the same directory with test cases,
I want put the generated logs into a separated directory.
The code in the example_logger1.rb is
There are quite a few ways to do this, here's one using expand_path:
f = File.dirname(__FILE__) # get your test directory
puts File.expand_path(#{f}/..) # get the directory above your test
directory
-Charley
On 3/5/07, Jason He [EMAIL PROTECTED] wrote:
Dear all,
I