[Wtr-general] Error when loading iframe
Suman Goel
sgoel at yahoo-inc.com
Wed May 2 18:57:03 EDT 2007
Try adding the following line after creating the ie instance
ie.logger.level = Logger::ERROR
This will not show these warnings.
-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Charley Baker
Sent: Wednesday, May 02, 2007 7:46 AM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Error when loading iframe
Try running the latest code from svn, there've been some changes around
dealing with frame access errors. Follow this link for the instructions:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem
-Charley
On 5/2/07, John <forum-watir-users at openqa.org> wrote:
Hi,
When you click on a link in my website an iframe is loaded in the
middle of the page. It seems watir has trouble with it, because it gives an
error (see below). I use this to click on the link: $ie.link(:url,
/club_philips_streamium_management/).click
It then returns this error:
irb(main):011:0> ie.link(:url,
/club_philips_streamium_management/).click
WIN32OLERuntimeError: document
OLE error code:80070005 in <Unknown>
Access is denied.
HRESULT error code:0x80020009
Exception occurred.
from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1830:in
`method_missing'
from C:/ruby/lib/ruby/gems/1.8/gems/watir-
1.5.1.1158/./watir.rb:1830:in `wait'
from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1829:in `times'
from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1829:in `wait'
from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:2577:in `click'
from (irb):11
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org <mailto:Wtr-general at rubyforge.org>
http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list