How to run same test suite multiple times using watir

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

ยทยทยท

--
Posted via http://www.ruby-forum.com/.