From: mirth Date: 2008-02-20T08:54:58+09:00 Subject: Re: HELP: Need to continue the loop after the exception Is that because Watir Unit Test is behaving differently Or is that because the browser is still running the page even the exception happens? > I can't replicate the behaviour you describe. Slightly modifying your > code to test: > > def looptest >   puts "#" >   raise "Exception" > rescue >   puts "E" > end > > def test_01 >   [1,2,3,4,5].each do |obj| >     looptest >   end > end > > test_01 > > Simply capturing the exception with a rescue should work fine. This > example, for instance, spits out '#\nE' 5 times. > > Christopher