[Wtr-general] [question] access denied OLE error code:80070005
Bret Pettichord
bret at pettichord.com
Mon May 8 22:22:36 EDT 2006
This might fix your problem depending on the actual code that failed. (Show
us more of your code if you need more help.)
class Watir::IE
attr_accessor error_checkers
end
ie.error_checkers = []
Bret
On 5/8/06, Rodrigo Julian Martin <rodrigo.martin at enratio.com> wrote:
>
> Hello everybody!
>
> When watir does a .wait for a page, it throws me the following error:
>
> xecuting 'ruby -C "C:/Documents and Settings/testing/Desktop/[Desarrollo]
> Ensamble de Circuitos 08-05-2006" "ML_Circuito.rb"'
> c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2389:in `method_missing': document
> (WIN32OLERuntimeError)
> OLE error code:80070005 in <Unknown>
> Access is denied.
> HRESULT error code:0x80020009
> Exception occurred. from
> c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2389:in `document'
> from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1177:in
> `check_for_http_error'
> from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1162:in `set_defaults'
> from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1161:in `upto'
> from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1161:in `set_defaults'
> from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1159:in `call'
> from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1512:in `run_error_checks'
> from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1511:in `each'
> ... 6 levels...
> from ML_Circuito.rb:411:in `each'
> from ML_Circuito.rb:411
> from ML_Circuito.rb:404:in `open'
> from ML_Circuito.rb:404
> Execution completed with exit code 1.
>
>
> I guess that this happen because in the page, there is a banner which
> have code of clickexperts (another domain). I can't get the work around for
> this.. any help? I´ve tried adding that domain to the list of Trusted Sites,
> but it didn't help.
>
> If I missed some info, please let me know.
>
> Cheers!
> Rodrigo Julian Martín
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060508/4ac2ac28/attachment.html
More information about the Wtr-general
mailing list