this happens because the window you are accessing has several frames.
One of the frames is in a different domain, and to avoid cross frame 
scripting vulnerabilities, Internet Explorer has prevented you accessing it.
this page has some info on that vulnerability
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/sec_dhtml.asp

If you dont need to access that frame, dont worry about it ;-)

----- Original Message ----- 
From: "Bernard Kenik" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 05, 2007 12:18 PM
Subject: [Wtr-general] newbie needs help to get past step 1.


>I have installed Watir via the Windows Installer for Watir 1.4.1 link.
> (http://rubyforge.org/frs/download.php/5677/watir-1.4.1.exe)
>
> This is my first script:  watir_cboe.rb:
> ===================================================
> #!c:/ruby/bin/ruby -w
> # -*- coding: ISO-8859-1 -*-
>
> require 'watir'
> include Watir
>
> site = "http://cboe.com";
> ie = Watir::IE.start(site)
>
> ===================================================
>
> output of  the script:
> =====================================================
> W, [05-Feb-2007 13:31:46#3116]  WARN -- : frame error in waitdocument
>    OLE error code:80070005 in <Unknown>
>      Access is denied.
>
>    HRESULT error code:0x80020009
>      Exception occurred.
> c:\ruby\lib\ruby\site_ruby\1.8/watir.rb:1405:in `method_missing'
> c:\ruby\lib\ruby\site_ruby\1.8/watir.rb:1405:in `wait'
> c:\ruby\lib\ruby\site_ruby\1.8/watir.rb:1404:in `upto'
> c:\ruby\lib\ruby\site_ruby\1.8/watir.rb:1404:in `wait'
> c:\ruby\lib\ruby\site_ruby\1.8/watir.rb:1254:in `goto'
> c:\ruby\lib\ruby\site_ruby\1.8/watir.rb:1095:in `start'
> C:\Documents and Settings\Owner\My Documents\My
> Projects\Ruby\watir\watir_cboe.rb:8
>
> Program exited with code 0
> ========================================================
>
> Result of running the script.
> The browser opens and connects to the specified site.  Once this occurs
> the script terminates with the above output. I can open the browser's
> window to the http://cboe.com webpage.
>
> Login is not a requirement to navigate to other pages on this site.
> Login is require only if you want to access pages specific to your 
> account.
>
> I am using
>  ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
> and
>  Internet Explorer 7  (version:7.0.5730.11)
>
> Basically the above script result should not occur, but then I am total
> newbie to Watir.
>
> I realize that I probably could workaround with a begin , rescue, end
> block. But I am trying to understand why  the WARN message  occurs and
> what to do to prevent the message from occurring.
>
> Than  you  for any assistance  you may provide.
>
>
>
>
> _______________________________________________
> 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