Marc Guillemot (JIRA) wrote:
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.

+1

The old behaviour has been hard to explain to newcomers to WebTest.
The proposed behaviour will be much easier to explain. Well, perhaps
not easier to explain but hopefully will need explanation less often.

Paul.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to