speaking for myself (and perhaps for the team also) my general finding
is that the tests created by most recorders tend to be brittle and
require a lot of maintenance. They also do not lend themselves well
to test frameworks such as cucumber, or any other 'step driven' and
even many 'data driven'
you have done the same thing, using multiple attributes as there are 2
button which have value as 1. :)
On Thu, Mar 24, 2011 at 5:52 PM, Ashu wrote:
> Well thanks for the reply Karim.
> I did manage to solve the problem using
> browser.radios.each {|m|
>if m.name == "cc_output_mode
Well thanks for the reply Karim.
I did manage to solve the problem using
browser.radios.each {|m|
if m.name == "cc_output_mode0" && m.value == "1"
m.set
end
}
:-)
On Mar 24, 4:22 pm, karim rayani wrote:
> In the entire page, there are radio button which have the value prop
In the entire page, there are radio button which have the value property as
"1". hence browser.radio(:value => "1").set in the last line is going set
the radio button with value 1 which comes first in the html structure.
I think you need some syntax like to fix the problem, by using multiple
attri
hi,
I want to set radio button which are having the following fields(I
have searched on related posts in the forum, was unable to solve my
problem)
Idle SituationText1Text2
ModeText3Text4
my automation code is
browser.radio(:name => "idle0").flash
browser.radio(:value => "1").set
browser.radio(: