[Wtr-general] Access is Denied
Jim Hollcraft
jimh at jetreports.com
Sat Sep 9 22:24:56 EDT 2006
Of all the solutions in the FAQ, the only one that works for me is
@ie.logger.level = Logger::ERROR
and that solution works great with Watir-1.4.1. I'd really like to use new features in 1.5.1 -- especially the ability to create a new process for each IE. I tried the same code with Watir 1.5.1 and instead of a warning, the access denied is now an error so the above code doesn't solve the problem. Is there a solution to this for 1.5.1.1081?
-----Original Message-----
From: wtr-general-bounces at rubyforge.org on behalf of Charley Baker
Sent: Fri 9/8/2006 11:23 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Access is Denied
Take a look at the FAQ:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-accessdenied
-Charley
On 9/9/06, Jim Hollcraft <jimh at jetreports.com> 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
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3579 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060909/dc252346/attachment-0001.bin
More information about the Wtr-general
mailing list