|
Here is a curious addition to my previous post. If I put
an “$ie.show_all_objects” at the top of the
test case then all the object on the page are displayed in the output—as expected,
nothing curious here. However, if I move the “$ie.show_all_objects” method to after where
the Non-modal windows closes then only a very small part of the object show in
the output, and then the error. --Mark From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Cain, Mark I am
getting the following error when I click a ‘Save’ button on a
page. The application has several tabbed pages and on each is the same
‘Save, Submit, and Clear’ button pattern. The other tab pages
click the save button without error. This error occurs after attaching
and closing a Non-modal window. NoMethodError: undefined method `all' for nil:NilClass C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1257:in `ole_inner_elements' C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1313:in `locate_input_element' C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3608:in `locate' C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2337:in `assert_exists' C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2480:in `click'
C:/watir_bonus/working/PER/tc_PERwResloution_test.rb:279:in `test5_ca' Has
anyone else seen this or similar behavior? ____________________ |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
