SamuraiJack
15 years agoContributor
Issues identifying table data for HTML table checkpoint verification..
Working with the HTML Table Checkpoint in VB script and I'm trying to figure out how to identify the data on simple table, I included a screenshot of what the page looks like. Any advice for moving forward?
Object finder shows it as:
Aliases.iexplore.pagePolicyList1.formAspnetform.panelMainlayoutcontainer.table.cell.table.cellMainmiddlecolumn.panelAutopolicylist.table.cell.panelPolicysummarybarmaincontain.table.cellBarcell.linkCtl00MainpagecontentPolicyli.textnode0024248
The code for this piece of data looks like this in View Source:
<table style="width: 100%;">
<tr>
<td style="width: 90px;" class="barcell">Policy #<br />
<a id="ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlVisible" onclick="ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlHidden'); ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlVisible'); ToggleVisibility('divDetail0024248'); return false;" href="../Common/Controls/#void" style="display: none;"><span>0024248</span></a>
<a id="ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlHidden" onclick="ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlHidden'); ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlVisible'); ToggleVisibility('divDetail0024248'); return false;" href="../Common/Controls/#void"><span>0024248</span></a>
</td>
Object finder shows it as:
Aliases.iexplore.pagePolicyList1.formAspnetform.panelMainlayoutcontainer.table.cell.table.cellMainmiddlecolumn.panelAutopolicylist.table.cell.panelPolicysummarybarmaincontain.table.cellBarcell.linkCtl00MainpagecontentPolicyli.textnode0024248
The code for this piece of data looks like this in View Source:
<table style="width: 100%;">
<tr>
<td style="width: 90px;" class="barcell">Policy #<br />
<a id="ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlVisible" onclick="ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlHidden'); ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlVisible'); ToggleVisibility('divDetail0024248'); return false;" href="../Common/Controls/#void" style="display: none;"><span>0024248</span></a>
<a id="ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlHidden" onclick="ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlHidden'); ToggleVisibility('ctl00_MainPageContent_PolicyList1_rptrListAuto_ctl01_PolicySummaryBar_ClientVisibilityToggleLinkControl1_hlVisible'); ToggleVisibility('divDetail0024248'); return false;" href="../Common/Controls/#void"><span>0024248</span></a>
</td>