[Webtest] [webtest][JIRA] Created: (WT-328) Fix usage of clickButton's label
attribute to identify button's "visible text"
Marc Guillemot (JIRA)
Marc Guillemot (JIRA)" <noreply@canoo.com
Mon, 10 Sep 2007 11:01:32 +0200 (CEST)
Fix usage of clickButton's label attribute to identify button's "visible text"
------------------------------------------------------------------------------
Key: WT-328
URL: http://webtest-community.canoo.com/jira/browse/WT-328
Project: WebTest
Type: Bug
Reporter: Marc Guillemot
Assigned to: Marc Guillemot
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