Jeroen, Thank you for this information. I have opened up a Jira Ticket for implementing this improvement to our Frame support. http://jira.openqa.org/browse/WTR-96 Bret
Jeroen van Menen wrote: > Hi, > > Just wanted to let you know that this "access denied" problem can be fixed in > code. You need to replace the current implementation of finding a > frame/frames with some COM api calls. Here are links to info about this > solution: > > KB Article KB196340: > http://support.microsoft.com/default.aspx?scid=kb;en-us;196340 > C# implementation of KB196340: > http://www.colinneller.com/blog/PermaLink,guid,64eac67e-df2a-4a20-82f0-16b0c5ce9615.aspx > > We have just added this code to the .Net port of Watir > (watin.sourceforge.net) and it works OK. > > Hope this info helps > > Regards, > > Jeroen van Menen > > >> On 9/9/06, Jim Hollcraft <[EMAIL PROTECTED]> wrote: >> >> >>> I am getting 'Access is denied' errors. For simplicity, the problem can be >>> duplicated with cnn.com. See example below. Any suggestions? Thanks. >>> >>> C:\>irb >>> irb(main):001:0> require 'Watir' >>> => true >>> irb(main):002:0> Watir::IE.start('http://cnn.com') >>> W, [08-Sep-2006 22:57:47#772] WARN -- : frame error in waitdocument >>> OLE error code:80070005 in <Unknown> >>> Access is denied. >>> >>> HRESULT error code:0x80020009 >>> Exception occurred. >>> C:/InstantRails/ruby/lib/ruby/site_ruby/Watir.rb:1405:in `method_missing' >>> C:/InstantRails/ruby/lib/ruby/site_ruby/Watir.rb:1405:in `wait' >>> C:/InstantRails/ruby/lib/ruby/site_ruby/Watir.rb:1404:in `wait' >>> C:/InstantRails/ruby/lib/ruby/site_ruby/Watir.rb:1254:in `goto' >>> C:/InstantRails/ruby/lib/ruby/site_ruby/Watir.rb:1095:in `start' >>> (irb):2:in `irb_binding' >>> C:/InstantRails/ruby/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding' >>> C:/InstantRails/ruby/lib/ruby/1.8/irb/workspace.rb:52 >>> => #<Watir::IE:0x2b11fb0 ... @down_load_time=5.336> >>> irb(main):003:0> >>> _______________________________________________ >>> Wtr-general mailing list >>> [email protected] >>> http://rubyforge.org/mailman/listinfo/wtr-general >>> >>> >>> >> _______________________________________________ >> Wtr-general mailing list >> [email protected] >> http://rubyforge.org/mailman/listinfo/wtr-general >> >> > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
