Highlighted
New Member.
95 views

Correlation of HTML table

Hi all,

 

I'm very new to loadrunner and have reached a roadblock , and would appreciate some help.

I need to correlate a server response that contains multiple HTML tables and I need to capture a specific Tables values:

Table Name: ReceivedSKUs

Values: BP6ES

Values: SA496

How would I go about achieving this?

I assume I need to use the web_reg_save_param_attrib but not sure how.

 

Please see extract from the server response:

<table id="ReceivedSKUs" class="dataview" cellspacing="0" width="100%">

<tr>
<table class="dataview" cellspacing="0" width="100%">
<tr>
<td>
BP6ES (PO: )
</td>
<td align="right">
<img alt="" src="/content/images/ShowImage.png" onclick="ViewProductImage('BP6ES')" />
<img alt="" src="/content/images/TickMark.png" onclick="SelectProduct('BP6ES')" />
</td>
</tr>
<tr>
<td colspan="2">
NYK SPARK PLUG 1.6
</td>
</tr>
</table>
</tr>
<tr>
<table class="dataview" cellspacing="0" width="100%">
<tr>
<td>
SA496 (PO: )
</td>
<td align="right">
<img alt="" src="/content/images/ShowImage.png" onclick="ViewProductImage('SA496')" />
<img alt="" src="/content/images/TickMark.png" onclick="SelectProduct('SA496')" />
</td>
</tr>
<tr>
<td colspan="2">
9PC SEAT COVER PU 10
</td>
</tr>
</table>
</tr>

</table>

Thank you!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.