clickButton's label attribute to identify button's "visible text" is broken as
of R_1804
----------------------------------------------------------------------------------------
Key: WT-561
URL: http://webtest-community.canoo.com/jira/browse/WT-561
Project: WebTest
Type: Bug
Reporter: kasey mccurdy
Assigned to: Marc Guillemot
Fix For: 2.6
clickButton's label attribute is currently use to match the value attribute of
the button. This text is correctly the "label" of submit buttons for instance
but not of <input type="image"...> and of <button>...</button>.
clickButton should be changed to use label to match:
- the alt text for a <input type="image".../> (like clickLink does)
- the node's text for a <button...>some text</button>
- the value attribute for the other types of button
CAUTION: this may break existing tests relying on this strange behavior.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest