From: Christopher Swasey Date: 2008-02-20T11:16:22+09:00 Subject: Re: HELP: Need to continue the loop after the exception On 2/19/08, mirth wrote: > Sorry I forgot to put closing } in the example code. But it's there in > my original code. I didn't make myself clear. The test is supposed to > run multiple reports. During running one long report, after 5 minutes > (the wait time I put in), the TimeOutException happens and is caught > with rescue. After the exception is caught, the loop stops (that means > all other reports after that won't be run) but the browser is still > rendering the current report until it's done. What I want is that the > browser will stop rending the current report after the exception is > caught but continue to run the the rest reports. Thanks again for your > help. Based on your code, and my own tests with Waiter and Watir::TestCase, that behaviour shouldn't occur. I'm kind of at a loss. One more question: When you run the test, what is the result? Does it get counted as an error? Christopher