On Tue, Mar 2, 2010 at 3:23 PM, yoggy <[email protected]> wrote:
> rescue Watir::Exception::NavigationException => e
You are rescuing the exception, hence the script is not terminated. You
should do something like this:
def navigate(page_name)
browser.check_for_http_error
rescue Watir::Exception::NavigationException => e
puts "Page did not load: #{e}"
raise
end
Željko
--
watir.com - community manager
pledgie.com/campaigns/2982 - donate to Watir
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general