> Message: 3 > Date: Wed, 24 Aug 2005 23:27:53 -0500 > From: Bret Pettichord <[EMAIL PROTECTED]> > Subject: Re: [Wtr-general] Problem with running tests in a suite > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii"; format=flowed > > At 02:11 PM 8/24/2005, Lisa Crispin wrote: > >If we have really small scripts/test cases, they run fine in a suite. > >But as we add code to them, we start having a problem where the first > >IE browser window does not shut down, and the second script errors out > >because there was a window already open. > > It sounds like you are seeing two errors. What are they? >
Here is the output. Some of it is from the scripts. If I add sleep 5 to the second script, it works. Loaded suite ts_payroll_tests Started 3756 => Drake, Robert P. Current page number = 1 Total pages = 1 .url=http://shaggy:80/control.jsp?fid=2 E Finished in 14.329 seconds. 1) Error: test_manage_groups(TC_ManageGroups): Watir::Exception::UnknownObjectException: Unable to locate object, using text an d site login c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in `assert_exists' c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2009:in `click' ../lib/Login/Login.rb:24:in `login' ../lib/Login/Login.rb:40:in `fast401k_login' ../lib/Login/Login.rb:69:in `login_as_sponsor_by_plan_name' ../scripts/simple/Payroll/tc_manage_groups.rb:47:in `test_manage_groups' 2 tests, 6 assertions, 0 failures, 1 errors _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
