How to get dynamic values from html page with LoadRunner? -
I'm using web_reg_save_param to get dynamic values, such as
& gt; Lt; Input type = "hidden" name = "lieutenant" value = "afu" /> then I can use it: web_reg_save_param ("HiddenValue1", "LB / IC = & lt; input type = \" hidden \ "name = \" lieutenant \ "Value = \", "rb / ic = \" /> "," ORD = 1 "," search = body ", last);
However, if the Input & gt; is like this:
& lt; Input type = "hidden" name = "lt" read-only / & gt;
Value is set dynamically by Ajax script How can I get the price? & lt; Input & gt; .
There is no "value" property for correlation to server values. As your value is generated by native JavaScript, you should either recreate the algorithm in the language of your script, use the loader's features to generate value, or execute the Javascript function, which you can Returns the expected value.
Or .... You can move "up the stack" for the virtual user type, which will run the full client stack of the browser. It will include type TrueClient, GUI, Citrix and RDP.
Comments
Post a Comment