[Wtr-general] Attaching modal popup windows ( html)
Christian Baumann
mail at chriss-baumann.de
Wed Jan 3 15:15:47 EST 2007
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:* 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
> <mailto: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 <mailto:Wtr-general at rubyforge.org>
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/1c2dc5dc/attachment-0001.html
More information about the Wtr-general
mailing list