[Wtr-general] Access Denied with Frames

Zeljko Filipin zeljko.filipin at gmail.com
Tue May 2 03:25:47 EDT 2006


Maybe this will help.http://wiki.openqa.org/display/WTR/FAQ#FAQ-Accessdeniedwhentryingtoaccessaframe
On 4/30/06, George Flaherty <George.Flaherty at sas.com> wrote:> I am currently evaluating Watir for one of our web based applications. The application I am using for evaluation of watir contains quite a bit of frame sets. Now when I try to determine the HTMLinks within the frames I get --Access Denied--?>> Am I doing something wrong, or missing? Maybe and outdated version of Watir?>> Thanks> -george>> Version Info:> ===========> Watir 1.4.1> Ruby  1.8.2> IE 6.0.2900.>> Here is my simple test:> =======================> require 'watir'>> ie = Watir::IE.attach(:title,/Marketmax - Integrated Mer/)> ie.show_frames>>> Here is the error I am receiving:> =======================> W, [29-Apr-2006 08:51:34#3756]  WARN -- : frame error in waitdocument>     OLE error code:80070005 in <Unknown>>       Access is denied.>>>     HRESULT error code:0x80020009>       Exception occurred.> C:/usr/ruby/lib/ruby/site_ruby/1.8/watir.rb:1405:in `method_missing'> C:/usr/ruby/lib/ruby/site_ruby/1.8/watir.rb:1405:in `wait'> C:/usr/ruby/lib/ruby/site_ruby/1.8/watir.rb:1404:in `upto'> C:/usr/ruby/lib/ruby/site_ruby/1.8/watir.rb:1404:in `wait'> C:/usr/ruby/lib/ruby/site_ruby/1.8/watir.rb:1113:in `attach_init'> C:/usr/ruby/lib/ruby/site_ruby/1.8/watir.rb:1104:in `attach'> C:/georgef/work/MATS2.1-Ezrah/scripts/watir/IMPS-Web61/Sandbox.rb:3> there are 2 frames> frame  index: 1 --Access Denied--> frame  index: 2 --Access Denied-->>>>>> _______________________________________________> Wtr-general mailing list> Wtr-general at rubyforge.org> http://rubyforge.org/mailman/listinfo/wtr-general>

--http://www.testingreflections.com/blog/3071



More information about the Wtr-general mailing list