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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -