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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker
Sent: Wednesday, January 03, 2007 12:21 PM
To: [email protected]
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 <[EMAIL PROTECTED]> 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
[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