Problem in capturing click adn script values

by Community Manager on ‎08-06-2012 12:25 PM

Question

I am working on a script that is recorded in basic HTTP/HTML protocol. In that, I became to capture a dynamic value which gets generated as soon as the user cliks a button.

The issue is that, value is getting captured under web_reg_save_param. But there is a case that, the value is not generated. In this situation the script stops workin as the error for the reg_save_param fails.

Can anyone help me to capture the value?

Answer

If it is likely that your script will continue even without the saved parameter, then you can include "Notfound=warning" as an additional paramter in the web_reg_save_param() function & your script will be continued normally. Otherwise, you can use the option "Continue on error" in run-time settings.

If you have issue at next step whenever there is no output found for web_reg_save_param(), then it is likely that your web_reg_save_param() is not configured correctly. You need to do manual correlation by analyzing the input & output responses.

Search
Showing results for 
Search instead for 
Do you mean 
Follow Us


HP Blog

HP LoadRunner and Performance Center Blog

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation