Unable to search innerText using: aqObject.CheckProperty(body, "innerText", cmpContains, str, false)
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try to include an image in your post? Try attaching it as a file instead.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
