
| Key: |
WTR-172
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Jonathan Kohl
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 09/Aug/07 12:20 PM
Updated: 28/Oct/08 05:08 PM
|
|
| Component/s: |
HTML Controls
|
| Affects Version/s: |
1.6.0
|
| Fix Version/s: |
1.6.0
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
watir-1.5.1.1192
|
|
|
When automating a web application that has a lot of radio buttons, I noticed that scrollIntoView is not called during a "set" action. In order to see what was getting selected, I changed "set" in class RadioCheckCommon from this:
def set
assert_enabled
highlight(:set)
set_clear_item(true)
highlight(:clear)
end
to this:
def set
assert_enabled
highlight(:set)
@o.scrollIntoView #added scrollIntoView
set_clear_item(true)
highlight(:clear)
end
|
|
Description
|
When automating a web application that has a lot of radio buttons, I noticed that scrollIntoView is not called during a "set" action. In order to see what was getting selected, I changed "set" in class RadioCheckCommon from this:
def set
assert_enabled
highlight(:set)
set_clear_item(true)
highlight(:clear)
end
to this:
def set
assert_enabled
highlight(:set)
@o.scrollIntoView #added scrollIntoView
set_clear_item(true)
highlight(:clear)
end
|
Show » |
|