what site are you running against? 

the access denied is usually becasue of a frame issue

Paul

----- Original Message -----
From: Bach Le <[EMAIL PROTECTED]>
Date: Wednesday, March 14, 2007 12:17 pm
Subject: Re: [Wtr-general] http_error_checker on IE7

> Charley and Paul, I'm running the latest gem and trying to use the 
> navigation checker with IE7, however, the code that was committed 
> does not work.
> 
> The get the following error:
> 
> 1) Error:
> test_1(TestCase):
> WIN32OLERuntimeError: navigator
>    OLE error code:80070005 in <Unknown>
>      Access is denied.
> 
> 
>    HRESULT error code:0x80020009
>      Exception occurred.
>    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir.rb:1217:in `method_missing'
>    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir.rb:1217:in `check_for_http_error'
>    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir/contrib/page_checker.rb:26    
> C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1162/./watir.rb:1849:in 
> `call'    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir.rb:1849:in `run_error_checks'
>    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir.rb:1849:in `each'
>    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir.rb:1849:in `run_error_checks'
>    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir.rb:1838:in `wait'
>    C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1162/./watir.rb:1692:in `goto'
>    http_errors.rb:12:in `test_1'
> 
> 
> and the problem is on the following line:
> 
> n = self.document.invoke('parentWindow').navigator.appVersion
> 
> 
> it appears that navigator is the missing method so this line 
> throws and error. Do you guys know of any work around? Thanks.
> 
> 
> -Bach
> -------------------------------------------------------------------
> --
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=6349&messageID=19888#19888
> _______________________________________________
> 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