History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WTR-54
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Bret Pettichord
Reporter: Charley Baker
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Watir

be able to specify radio button by value

Created: 03/May/06 12:08 PM   Updated: 08/Oct/08 06:07 PM
Component/s: HTML Controls
Affects Version/s: 1.4, 1.4.1
Fix Version/s: 1.6.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
I have HTML that looks like the following:

<INPUT TYPE="radio" name="s_freetexttab" value="1" checked="Y">Response
<INPUT TYPE="radio" name="s_freetexttab" value="0">Request
<BR>

and thus the only way to distinguish between the buttons is the value attribute. It would be good to be able to specify
radio buttons by this attribute in Watir.

Originally reported on Rubyforge: http://rubyforge.org/tracker/index.php?func=detail&aid=1373&group_id=104&atid=490

 All   Comments   Work Log   Change History      Sort Order:
Bret Pettichord - 11/Sep/06 11:03 PM
Originally reported by Albert Davidson Chou (al_chou)

This should be taken care of as part of adding multiple attribute support for input objects.

Bret Pettichord - 08/Oct/08 06:07 PM
Previously, this could be done with an optional third argument.

With my commit to trunk today, this can now also be done with using multiple attributes and specifying value.