Possible Duplicate:
Selenium checkbox attribute “checked”
I am testing an application implemented in ExtJs.
The checkboxes and radio buttons are implemented as buttons.
I am trying to get the state of the checkbox if it is checked or not using Selenium.
Here is the implementation:
<td id="checkboxfield-1258-bodyEl" class="x-form-item-body x-form-cb-wrap" role="presentation" colspan="3" style="width: 100%;">
<input id="checkboxfield-1258-inputEl" class="x-form-field x-form-checkbox" type="button" hidefocus="true" autocomplete="off" aria-invalid="false" data-errorqtip="" style="-moz-user-select: text;">
<label id="checkboxfield-1258-boxLabelEl" class="x-form-cb-label x-form-cb-label-after" for="checkboxfield-1258-inputEl">Use External tag</label>
</td>
Can someone please guide me how can I check the status ?
Thanks, Harpal