Thanks Brett, I will try this code and let you know!

 

I would like to add that besides that the problematic banner is an iframe, it is from clickexperts, so it tracks info about who clicked it… And it violates this:

 

[ extracted from http://msdn.microsoft.com/library/default.asp?url=""> ]

 

Since it is important to be able to navigate windows or frames to any URL beyond the domain restriction, these types of accesses are always permitted. Only access that attempts to read out or modify content is restricted. For instance, the href property might be assigned to cause navigation to occur, but this property cannot be read if the URL is of a different domain. This would allow one page to learn where the user has been browsing, and to allow this is a breach of the user's privacy.

 

And so, it throws the access denied OLE error when trying to load the page that contains that banner… The weird thing is that here @ work it doesn’t showup, but in the customer environments yes…

 

I will try with your suggestions Brett, thank you so much!

 

Cheers

Rodrigo Julian Martin

 

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 <[EMAIL PROTECTED]> 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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

 

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

Reply via email to