I've got my site running on XAMPP locally for testing and obviously don't have a valid SSL certificate for XAMPP. Whenever IE encounters the "There is a problem with this website's certificate" screen, Watir dumps out the message:
c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb: 447:in `method_missing': unknown property or method `document' (WIN32OLERuntimeError) HRESULT error code:0x800706b5 The interface is unknown. from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie- class.rb:447:in `document' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ locator.rb:31:in `each_element' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ locator.rb:38:in `locate' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ container.rb:749:in `locate_tagged_element' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ link.rb:24:in`locate' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ element.rb:49:in `assert_exists' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ element.rb:284:in `enabled?' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ element.rb:56:in `assert_enabled' ... 7 levels... from tests/myTest.rb:86:in `runTests' from tests/myTest.rb:101 from tests/myTest.rb:99:in `each' from tests/myTest.rb:99 After this point, I can no longer control IE. If I try to do just a simple browser.goto('www.google.com') I get: WIN32OLERuntimeError: unknown property or method `navigate' HRESULT error code:0x800706b5 The interface is unknown. from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie- class.rb:358:in `method_missing' from c:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie- class.rb:358:in `goto' from (irb):5 This is using Vista and IE8. Unfortunately, I can't circumvent the problem by running in non-SSL mode since my site requires SSL. Has anybody encountered this before? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---