There is a tab to search among the displayed list of vehicles and their details in the webpage. Here for example I am searching for the phone numbers which are all containing 407, It will return the phone numbers which are all contains 407. I am able to do this through robot-framework. But the challenge here is that I should verify the returned results. Those results are populated in a table.
Table code looks like this
<tr class="x-grid-row">
<td class=" x-grid-cell x-grid-cell-LandmarkEditIcon x-action-col-cell x-grid-cell-first">
<div class="x-grid-cell-inner " style="text-align: left; ;">
<img alt="" src="/assets/ui/images/menu/edit-menu-item.png" class="x-action-col-icon x-action-col-0 small-icon-image" data-qtip="Edit STEIN BEER GARDEN new">
</div>
</td>
<td class=" x-grid-cell x-grid-cell-gridcolumn-1225 " data-qtip=" Double click to view the vehicles present. ">
<div class="x-grid-cell-inner " style="text-align: left; ;">STEIN BEER GARDEN new</div>
</td>
<td class=" x-grid-cell x-grid-cell-gridcolumn-1226 ">
<div class="x-grid-cell-inner " style="text-align: left; ;">test reg 145</div>
</td>
<td class=" x-grid-cell x-grid-cell-gridcolumn-1227 ">
<div class="x-grid-cell-inner " style="text-align: left; ;">0</div>
</td>
<td class=" x-grid-cell x-grid-cell-gridcolumn-1228 ">
<div class="x-grid-cell-inner " style="text-align: left; ;">895 Villa Street, Mountain View, CA, 94041</div>
</td>
<td class=" x-grid-cell x-grid-cell-gridcolumn-1229 ">
<div class="x-grid-cell-inner " style="text-align: left; ;">circle</div>
</td>
<td class=" x-grid-cell x-grid-cell-gridcolumn-1230 x-grid-cell-last">
<div class="x-grid-cell-inner " style="text-align: left; ;">Phone Number</div>
</td>
</tr>
I just pasted a row here. Table structure looks like the above row. I need to verify the phone numbers whether it is matching the search criteria or not. Im new to robot framework. Any help would be appreciated. Thanks in advance.
Note : Id's are dynamic
Aucun commentaire:
Enregistrer un commentaire