
|
If you were logged in you would be able to see more operations.
|
|
|
WET
Created: 20/Aug/06 07:58 AM
Updated: 08/Jun/07 04:12 AM
|
|
| Component/s: |
Native watir object model
|
| Affects Version/s: |
0.8.0,
1.0.0,
0.9.8_beta1,
0.9.8 Final
|
| Fix Version/s: |
1.2
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
Right now, the setting of a particular item in the Radio group is possible only through the index:
Browser("title:=<Browser Title>").Radio("name:=<Radio Group Name>").set(<index>),
For eg: Browser("title:=<Browser Title>").Radio("name:=<Radio Group Name>").set(3),
will set the 3rd item (index starts from 1).
Apart from this, it should be possible to set the Radio Item based on the label of the item. like
Browser("title:=<Browser Title>").Radio("name:=<Radio Group Name>").set("<Radio Item Label>")
|
|
Description
|
Right now, the setting of a particular item in the Radio group is possible only through the index:
Browser("title:=<Browser Title>").Radio("name:=<Radio Group Name>").set(<index>),
For eg: Browser("title:=<Browser Title>").Radio("name:=<Radio Group Name>").set(3),
will set the 3rd item (index starts from 1).
Apart from this, it should be possible to set the Radio Item based on the label of the item. like
Browser("title:=<Browser Title>").Radio("name:=<Radio Group Name>").set("<Radio Item Label>") |
Show » |
|
if (index.class.to_s() == "Fixnum")
reqdRadio = @ieController.Radio("name:=#{name}", "index:=#{index}")
else
reqdRadio = @ieController.Radio("name:=#{name}", "label:=#{index}")
end
#instead of the earlier line single line.
reqdRadio = @ieController.Radio("name:=#{name}", "index:=#{index}")
Please include this change, in the next build and then make this bug as RESOLVED.