PDA

View Full Version : select radio buttons in IE



Devendra.dvm
08-29-2017, 09:25 AM
Hi Experts


I am trying to select radio buttons and select value in selectCls but facing problem with my code please help me on the same


Thanks in advance..




My code is:[/COLOR]



Browser.document.getElementById("ddlCycleID").SelectCls = "Cycle 274 (21 Jun 2017 - 31 Jul 2017)"
Browser.document.getElementById("chkproc").Checked = True
Browser.document.getElementById("btnSubmit").Click


HTML Source code is:[/COLOR]

<td>
<input value="chkproc" name="Module" type="radio" id="chkproc" checked="checked" tabindex="1" onclick="toggle(this)">&nbsp;Processing Module
<td>


<td>
<input value="chkquery" name="Module" type="radio" id="chkquery" tabindex="2" onclick="toggle(this)">&nbsp;Other Modules
<td>


<td>
<select name="ddlCycleID" id="ddlCycleID" tabindex="4" class="SelectCls" style="width:180px;">
<option value="Select Cycle">Select Cycle</option>
<option value="274">Cycle 274 (21 Jun 2017 - 31 Jul 2017)</option>
<option value="273">Cycle 273 (29 Jun 2017 - 29 Jun 2017)</option>


</select>
<td>