Highlighted
Absent Member.
Absent Member.
77 views

How to capture server response

Hi guys,
i am working on web(http/html) protocol.here i am searching result grid based on the condition like, search by ascending or descending or >10(value).

so that it will display the orders based on that, but script not displaying values based on the search.I found the search results in server response from tree view.

please help me, how to capture the search results to reply log.
provide some scrip lines to display the results in reply log.
0 Likes
1 Reply
Highlighted
Established Member..
Established Member..

Hi Prasanna,

If you want to capture Server side response or value you need to place web_reg_save_param("Parameter","LB=", "RB=", LAST); correlation Code.

Put this code just before the request or page where your response gets generated and as soon as request or page gets completed then put lr_output_message("Parameter = %s", lr_eval_string("{Parameter}")); this code will display the captured response of value.


Good luck.

Thanks
Ajay
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.