Upon further review...
I finally got to the book and gave it a proper reading. (Although I still need
to go back and do some of the excercises)
I was inaccurate in my initial comments based on a superficial browsing of the
book a couple months back. Mea culpa.
The first half is a lot of review
The bring to front method acts on the window title. If there's no window
title (you haven't navigated anywhere yet) then it won't bring the window to
the front.
-Charley
On 4/6/07, Jason He <[EMAIL PROTECTED]> wrote:
Yes, thank you for your help.
I find if ie.bring_to_front is before ie.go
Hi Vamsi,
If you have this html
some text
you can do it like this
irb(main):009:0> "some text" == ie.text_field(:index, 1).text
=> true
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/l
Hi Sayali,
I got lost. I did not understand what do you want to do. You can not set one
radio button?
Regarding your original post, this is how you can flash all radio buttons in
a form.
ie.form(:index, 1).radios.each { |radio| radio.flash }
Zeljko
--
ZeljkoFilipin.com
Hi Vamsi,
If you have this html
one
two
this is how you can find what it selected (this is irb session).
irb(main):008:0> selected = ie.select_list(:index, 1).getSelectedItems
=> ["one"]
irb(main):010:0> selected[0]
=> "one"
Zeljko
--
ZeljkoFilipin.com
__
I need to compare the text (in Captured text area) with some predefined
value... Can any one please assist me on this
Thanks in Advance...
Regards
Vamsi
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-g
Hi Zeljko,
Here is the html that is generated,
one two
aa
bb
cc
two three
aa
bb
cc
two three
In this case the parId0 parameter name is repeated twice in the same code.
Once it is displayed as individual radio buttons and once it is displayed in
the form of nes
How to read a focussed value in Drop Down list and assign to some variable?
Thanks in Advance...
Regards
Vamsi
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Yes, thank you for your help.
I find if ie.bring_to_front is before ie.goto(), then the window console will
be brought in front.
And if it is after ie.goto() just as you write, then the ie window will be
brought in the front.
Can anyone explain what the difference between those two is?
Hi, Zeljko,
Follow your suggestion, I find the methods set_fast_speed &
set_slow_speed, and can control the script execution speed.
I want to make it could be configurable in testing script, so write the
following code in my test script,
---
Hi Sayali,
Can you post html of that form, your watir code, and error message?
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
11 matches
Mail list logo