checkbox - Selenium IDE not able to recognize Checkboxes -


recording through firefox selenium ide, not able capture checkbox. how do that, below property of checkbox

span class="useragreement"> <input id="ctl_ctl_maincontent_maincontent_agreement" name="ctl$ctl$maincontent$maincontent$agreement"  tabindex="39" type="checkbox"> <label for="ctl_ctl_maincontent_maincontent_agreement"> 

use below code checks checkbox.

document.getelementbyid("ctl_ctl_maincontent_maincontent_agr‌​eement").checked = true; 

Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -