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: [EMAIL PROTECTED] on behalf of Charley Baker
Sent: Fri 9/8/2006 11:23 PM
To: [email protected]
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 <[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
>

<<winmail.dat>>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to