Thanks for your reply.
But there will no message output in the console. Could it output to both console and file? Regards, Jason ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker Sent: 2007年3月27日 22:50 To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] How to get report message after running everytest case You can redirect the output of your bat file to a file: mybat.bat > results.txt -Charley On 3/27/07, Jason He < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Dear all, I write some the filename of test cases in a windows bat file, execute the bat file, and then report messages for each test case will output in the console. Now, in order to make statistics for these messages, could they also output to the log file by script? The following is the report message after running one test case ------------------------------------------------------------------------------------ Finished in 15.063 seconds. 1) Failure: test_b(TC_rt_r_login) [C:/watir1145/runtime/rt_r_login.rb:34]: <false> is not true. 5 tests, 4 assertions, 1 failures, 0 errors ------------------------------------------------------------------------------------ Regards, Jason _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general