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 <[EMAIL PROTECTED]> 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@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general