Unable to search innerText using: aqObject.CheckProperty(body, "innerText", cmpContains, str, false)
I'm trying to search a string using aqObject.CheckProperty(body, "innerText", cmpContains, str, false) where str = "test".
Script is unable to locate the string in this dropdown with checkbox.
On a side note, script can search for other texts on the page in the internet explorer. Thank you
Source Code:
<tr>
<td nowrap="nowrap"><span class="sqlrv-radiotext"><input id="ctl00_ctl38_g_6ec6267a_af0f_44d9_b1d9_cb00847ea021_ctl00_ReportViewer_ctl04_ctl03_divDropDown_ctl05" type="checkbox" name="ctl00$ctl38$g_6ec6267a_af0f_44d9_b1d9_cb00847ea021$ctl00$ReportViewer$ctl04$ctl03$divDropDown$ctl05" onclick="$get('ctl00_ctl38_g_6ec6267a_af0f_44d9_b1d9_cb00847ea021_ctl00_ReportViewer_ctl04_ctl03').control.OnValidValueClick(this, 'ctl00_ctl38_g_6ec6267a_af0f_44d9_b1d9_cb00847ea021_ctl00_ReportViewer_ctl04_ctl03_divDropDown_ctl00');" /><label for="ctl00_ctl38_g_6ec6267a_af0f_44d9_b1d9_cb00847ea021_ctl00_ReportViewer_ctl04_ctl03_divDropDown_ctl05">test</label></span></td>
</tr>