sorry for my mistake. 

Hi all,

Here's a new problem, I don't know the reason.

I write automation scripts with ruby & watir.
The structure of the scripts is as followings:
1. I write every test case in different ruby file named as test01.rb, 
test02.rb, test03.rb
2. I divide the function of the scripts into three parts, and put them into 
1.rb, 2.rb and 3.rb according to the function.
    1> 1.rb such as (there are 24 files in 1.rb)
         require 'test1/test01.rb'
         require 'test1/test02.rb'
         require 'test1/test03.rb'
         require 'test1/test04.rb'
          ……
         require 'test1/test24.rb'
3. I create a bat file to run all the ruby file (1.rb, 2.rb, 3.rb), using 
'ruby -Ku -rjcode 1.rb'

The problem is: 
when I run the bat file, it will run the test cases in the 1.rb, I think it 
will run the files according to the sequence I write. it will run as: 
test01.rb, test02.rb, ……test24.rb. 
BUT, the actual result is: it runs test01.rb -----test12.rb, but it will 
skip test13.rb to run test20.rb. and then will run test14.rb, test15.rb. 
I'm confused that.
Could you give me some advice?

Looking forward to your reply.

Thanks 
Doris 

-- 
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