[Wtr-general] Error when loading iframe
Charley Baker
charley.baker at gmail.com
Wed May 2 10:46:15 EDT 2007
Try running the latest code from svn, there've been some changes around
dealing with frame access errors. Follow this link for the instructions:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem
-Charley
On 5/2/07, John <forum-watir-users at openqa.org> wrote:
>
> 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
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070502/7ea94549/attachment-0001.html
More information about the Wtr-general
mailing list