I removed the default navigation checker, and ignoring access denied errors
in 1.5.1.1159. If you pull the latest code from subversion, build and
install the gem, you should no longer see these errors.

Here's how to install the latest gem from source:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem

-Charley

On 3/21/07, kikiki <[EMAIL PROTECTED]> wrote:

irb(main):001:0> require 'watir'
irb(main):002:0> ie=Watir::IE.new
irb(main):003:0> ie.goto("http://cnn.com";)
WIN32OLERuntimeError: document
    OLE error code:80070005 in <Unknown>
      &#50529;&#49464;&#49828;&#44032;
&#44144;&#48512;&#46104;&#50632;&#49845;&#45768;&#45796;.

    HRESULT error code:0x80020009
      &#50696;&#50808;&#44032;
&#48156;&#49373;&#54664;&#49845;&#45768;&#45796;.
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1830:in
`method_missing
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1830:in
`wait'
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1829:in
`times'
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1829:in
`wait'
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1693:in
`goto'
        from (irb):3
irb(main):004:0>

in this case, I fixed this problem by

ie.disable_checker(Watir::NAVIGATION_CHECKER)

but in the 1158 version, I can't do that.
( I searched the code and I do below

require 'watir/contrib/page_checker'
ie.disable_checker(PageCheckers::NAVIGATION_CHECKER)

but it isn't solved )

How can I solve this problem?

Thank you.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to