Hello Balakrishna,
to make sure that it is a modal dialog, checkt the definition: "In user
interface design, a modal window (often called modal dialog because the
window is almost always used to display a dialog box) is a child window,
which has to be closed before the user can return to operating the
parent application." (http://en.wikipedia.org/wiki/Modal_window)
Regards,
Christian
Balakrishna schrieb:
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]
<mailto:[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] <mailto:[email protected]>
http://rubyforge.org/mailman/listinfo/wtr-general
------------------------------------------------------------------------
_______________________________________________
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