[Wtr-general] Error when loading iframe

John forum-watir-users at openqa.org
Wed May 2 07:59:54 EDT 2007


Hi,

When you click on a link in my website an iframe is loaded in the middle of the page. It seems watir has trouble with it, because it gives an error (see below). I use this to click on the link: $ie.link(:url, /club_philips_streamium_management/).click
It then returns this error:

irb(main):011:0> ie.link(:url, /club_philips_streamium_management/).click
WIN32OLERuntimeError: document
    OLE error code:80070005 in <Unknown>
      Access is denied.

    HRESULT error code:0x80020009
      Exception occurred.
        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:2577:in `click'
        from (irb):11


More information about the Wtr-general mailing list