From: mirth Date: 2008-02-20T09:35:03+09:00 Subject: Re: HELP: Need to continue the loop after the exception Hi Christopher, Here's the more specific example of what I'm trying to do: In the watir unit test class I have: def looptest "do sth" waiter = Waiter.new(300) # 5 min waiter.wait_until { if ($browser.frame("mainFrame").div(:text, / Reports/).exists?) true end rescue "do sth" end def test_01 somearray.each{|obj| looptest } end The TimeOutException will happen when the browser doesn't return Reports page in 5 minutes. When this exception happens, the browser will keep running but test will exit the loop. But I need test_01 to continue the loop even there's an exception and I want browser to stop when there's an exception.