At 12:51 AM 8/10/2005, Tim Feltham wrote:
I haven't had a chance to use this new code yet...can I do a
show_all_objects on the popup?
Can it select items in drop down lists yet?
No. No.
_
Bret Pettichord
www.pettichord.com
Are you planning on putting this in at some stage?
From: [EMAIL PROTECTED] on behalf of Bret Pettichord
Sent: Wed 10/08/2005 6:00 p.m.
To: wtr-general@rubyforge.org
Subject: RE: RE: [Wtr-general] New, improved support for popup dialogs
At 12:51 AM 8/10/2005
@rubyforge.org
Subject: RE: RE: [Wtr-general] New, improved support for popup dialogs
At 12:51 AM 8/10/2005, Tim Feltham wrote:
I haven't had a chance to use this new code yet...can I do a
show_all_objects on the popup?
Can it select items in drop down lists yet?
No. No.
_
Bret
-general@rubyforge.org
Subject: RE: [Wtr-general] New, improved support for popup dialogs
This also works:
Watir::dialog.button('OK').click
At 09:03 AM 8/9/2005, Zeljko Filipin wrote:
I looked at dialog.rb and changed
dialog.button('OK').click
to
Watir
I'm getting an error whenever I add require 'watir/dialog' to any script
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__': No such file to load -- watir/dialog (LoadError)
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
You need to run the install.rb script.
At 11:26 AM 8/9/2005, Iain wrote:
I'm getting an error whenever I add require 'watir/dialog' to any script
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__': No such file to load -- watir/dialog (LoadError)
from
-general] New, improved support for popup dialogs
You need to run the install.rb script.
At 11:26 AM 8/9/2005, Iain wrote:
I'm getting an error whenever I add require 'watir/dialog' to any
script
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__': No such file to load
install.rb:211:in `run'
from install.rb:211
-Original Message-
From: Bret Pettichord [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 9:33 AM
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] New, improved support for popup dialogs
You need to run the install.rb script
network logons?
cheers
Iain
-Original Message-
From: Bret Pettichord [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 11:13 AM
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] New, improved support for popup dialogs
You should be fine.
I've committed a fix to the installer
Any object is supported, buttons, links, whatever.
At 05:21 PM 8/9/2005, Iain wrote:
controls = ie2.frame(:name, Controls)
controls.remote_eval link(:index, 2).click()
dialog.button('OK').click
Instead try this:
ie2.remote_eval frame(:name,
: Bret Pettichord [mailto:[EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] New, improved support for popup dialogs
Any object is supported, buttons, links, whatever.
At 05:21 PM 8/9/2005, Iain wrote:
controls = ie2.frame(:name, Controls
always ben the
weakest part of watir, an now we have a nice solution
Paul
- Original Message -
From: Bret Pettichord [EMAIL PROTECTED]
Date: Tuesday, August 9, 2005 4:40 pm
Subject: RE: [Wtr-general] New, improved support for popup dialogs
Any object is supported, buttons, links
There is a method in Ruby which is called 'eval'. It takes a string and
evaluates it as Ruby code.
IE#remote_eval is based on this, hence the name. Python and Perl and Lisp
all have eval methods that do the same thing, so the name is pretty well
established and understood by anyone who has
At 12:19 AM 8/10/2005, Scott Hanselman wrote:
Ya, I really don't like the name either, as it (deeply) exposes the
implementation, IMHO. That said, here's my hypocritical votes:
* spawn_eval
* forked_eval
* eval_newthread
* newthread_eval
* run_on_new_thread
of these, i liked forked_eval the
.
To: wtr-general@rubyforge.org
Subject: RE: RE: [Wtr-general] New, improved support for popup dialogs
At 12:19 AM 8/10/2005, Scott Hanselman wrote:
Ya, I really don't like the name either, as it (deeply) exposes the
implementation, IMHO. That said, here's my hypocritical votes:
* spawn_eval
15 matches
Mail list logo