[ http://webtest-community.canoo.com/jira/browse/WT-258?page=all ]
Denis N. Antonioli closed WT-258:
---------------------------------
Resolution: Cannot Reproduce
Testcase "setCheckbox: Check setting simple states" shows that un-checking
works:
<http://webtest.canoo.com/webtest/reports/selftest/File48.html>
> uncheck a checkbox does not work
> --------------------------------
>
> Key: WT-258
> URL: http://webtest-community.canoo.com/jira/browse/WT-258
> Project: WebTest
> Type: Bug
> Versions: 2.1
> Reporter: Andreas Winter
>
> Method SetCheckbox.updateField should be:
> protected void updateField(HtmlElement field) throws IOException {
> boolean checked = isChecked();
> // Why this check? Find all fields filters out all non-checkboxes
> if (!(field instanceof HtmlCheckBoxInput)) {
> throw new StepFailedException("Found " + field.getTagName() +
> " when looking for checkbox", this);
> }
> HtmlCheckBoxInput checkBox = (HtmlCheckBoxInput) field;
> if (checkBox.isChecked() != checked) {
> //******** START
> checkbox.setChecked(checked);
> //******** END
> LOG.debug((checked ? "" : "un") + "checked checkbox " + checkBox);
> }
> }
--
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