I use load method, such as, Load 'test1.rb' Load 'test2.rb' Load 'test3.rb', etc
These test cases could run one after one and there is only one window brought up, although the running sequence is not according to the line sequence written in the script. One thing maybe need to pay attention to is that, use global variable $ie to create the IE.new instance and use this variable in all test cases, rather than use a local variable to create that for each test case. Regards, Jason -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Naga Harish Kanegolla Sent: 2007年3月2日 14:40 To: [email protected] Subject: Re: [Wtr-general] Executing all scripts at a time Hi, I am able to run all the tests by using require 'test1.rb' require 'test2.rb' require 'test3.rb' etc., but when i start the test it is opening 3 windows if there are 3 tests to run, i have nearly 15 tests then it opens 15 windows at a time and the test is running only in the last window. So How to solve this problem?? --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6664&messageID=19466#19466 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
