Thanks for the reply, but I'm still getting the following error when using
browser.alert.ok
--------------------------------------------------------------------
Started
E
Finished in 61.727539 seconds.
1) Error:
test_delete_user(UsersTest):
Watir::Exception::UnknownObjectException: unable to locate alert
C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-webdriver/alert.rb:49:in
`assert_exists'
C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-webdriver/alert.rb:18:in
`ok'
C:/watir/tests/regression/users_helper_page.rb:183:in
`delete_existing_user'
C:/watir/tests/regression/users_regression_test.rb:311:in
`test_delete_user'
1 tests, 2 assertions, 0 failures, 1 errors
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]