This has been answered many times.  
      "The access is denied message usually appears when there is a
frame (         or iframe) that is in a different domain. It's a
security thing in the   browser.  If your script is working, I wouldnt
worry about it."

Many have endeavored to put these kinds of errors and stuff in the FAQ;
you might want to check it out on the website.  

--Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of san
Sent: Tuesday, November 28, 2006 3:09 AM
To: [email protected]
Subject: [Wtr-general] Can't Determine The Error...

Look At This Simple code....

[i]require 'watir'
ie = Watir::IE.new
ie.goto('http://pro.edgar-online.com')[/i]

It Throws Exception In The Goto Line As :

[i]W, [28-Nov-2006 16:24:40#1068]  WARN -- : frame error in waitdocument
    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.4.1/./watir.rb:1405:in
`method_missing'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1405:in `wait'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1404:in `upto'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1404:in `wait'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1254:in `goto'
Edgar1.rb:5[/i]

I Cant Determine The Problem... Help... :)

& Also I Can't Tell The Program To Wait Till A Page Is Loaded Fully By
The Command
[i]ie.wait( noSleep = false )[/i]
Can You Please Give Me Any Way To Stop Execution Of The Program Till The
Page Loades Completely.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5476&messageID=15263#15263
_______________________________________________
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