How to run same test suite multiple times using watir

V

Vishwanath Uppala

Hi Friends,

I am using watir for testing our websites.
I have a test suite to run multiple times.

I'm using the following code to iterate test suite

require 'watir'
require 'test/unit/ui/console/testrunner'
include Test::Unit::UI::Console
require 'watir/MessageBox'
require 'watir/Sharekhan'

testcases = [TC_Sharekhan]

while 1 do

testcases.each {|testcase| TestRunner.run(testcase)}
end



This would run fine for first time then it gives out an error
Can u Please help me guys

thanks
vishwanath
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top