[Wtr-general] Attaching modal popup windows ( html)
Balakrishna
balakrishna.venkatappa at ionidea.com
Wed Jan 3 14:32:40 EST 2007
Hi Charlie :
I tried after installing watir 1.5, I still get the following error message.
irb(main):005:0> ie2=ie.modal_dialog(:title,'/LSOG 9/')
Watir::Exception::TimeOutException: Timed out after 2.5 seconds.
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir/waiter.rb:5
5:in `wait_until'
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:211:in `
until_with_timeout'
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:2643:in
`locate'
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:2678:in
`initialize'
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:464:in `
new'
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:464:in `
modal_dialog'
from (irb):5
irb(main):006:0>
how can I confirm that the window is a modal window ?.. It does not have
address bar ..
Thanks
Balu
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Charley Baker
Sent: Wednesday, January 03, 2007 12:21 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Attaching modal popup windows ( html)
If you're using the latest Watir 1.5 and Ruby 1.8.2, you can use
ie.modal_dialog, Watir 1.4 doesn't support modals:
-Charley
On 1/3/07, Balakrishna <balakrishna.venkatappa at ionidea.com> wrote:
Hello all,
I am having a modal ( without address bar) popup window which has a form
and I need to fill some data into the same. I tried attaching the window
using the title, but it does seem to recognize the window. I also tried to
attaching using url but not successful either. Any suggestions is
appreciated.
Thanks
Balu
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070103/a408b7d6/attachment.html
More information about the Wtr-general
mailing list