[Wtr-general] Executing all scripts at a time
Jason He
Jason.He at resilience.com
Fri Mar 2 04:09:59 EST 2007
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: wtr-general-bounces at rubyforge.org [mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Naga Harish Kanegolla
Sent: 2007年3月2日 14:40
To: wtr-general at rubyforge.org
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
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list