[Webtest] StoreInputFieldAttribute for a Checkbox

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Wed, 13 Aug 2008 15:34:20 +0200

Soula, William wrote:
> I was messing around with the storeInputFieldAttribute function and
> noticed that for attribute="checked" the values returned are "checked"
> and "false".  Whereas, the setCheckbox step only accepts "true" and
> "false" for checked.  Shouldn't these two steps line up such that you
> can store the checked attribute of a checkbox and then right away be
> able to set a checkbox with it?  In order to do this I've had to add a
> scriptStep to change "checked" to "true"


according to my FF, the value for checked may be anything depending on
what was specified in the html ;-( therefore I don't really see what
could be done here.

Blog: http://mguillem.wordpress.com