Try running the latest code from svn, there've been some changes around dealing with frame access errors. Follow this link for the instructions: <a href="http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem">http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem
</a><br><br>-Charley <br><br><div><span class="gmail_quote">On 5/2/07, <b class="gmail_sendername">John</b> <<a href="mailto:forum-watir-users@openqa.org">forum-watir-users@openqa.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>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
<br>It then returns this error:<br><br>irb(main):011:0> ie.link(:url, /club_philips_streamium_management/).click<br>WIN32OLERuntimeError: document<br> OLE error code:80070005 in <Unknown><br> Access is denied.
<br><br> HRESULT error code:0x80020009<br> Exception occurred.<br> from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1830:in `method_missing'<br> from C:/ruby/lib/ruby/gems/1.8/gems/watir-
1.5.1.1158/./watir.rb:1830:in `wait'<br> from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1829:in `times'<br> from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1829:in `wait'
<br> from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:2577:in `click'<br> from (irb):11<br>_______________________________________________<br>Wtr-general mailing list<br><a href="mailto:Wtr-general@rubyforge.org">
Wtr-general@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/wtr-general">http://rubyforge.org/mailman/listinfo/wtr-general</a><br></blockquote></div><br>