Functions in LR
1. Web_url ()
General get requests to use this
2. Web_submit_form ()
Automatically detect whether a form exists on the current page, and if so, transmit the subsequent ITEMDATA data
3. Web_submit_data ()-this setting is recommended
Without the support of the previous page, send the relevant data to the corresponding page directly. The data in the hidden form is also recorded and submitted to the server as ITEMDATA data.
4. Web_custom_request ()
This function is used when the request is special and VuGen cannot record it using the above functions.
5. Web_reg_find ()
Checkpoint function
6. Web_reg_save_param ()
Correlation function
7. Lr_save_string ("192.168.0.107 8080", "ip")
Save the previous value to the later parameter for later use
8. Lr_eval_string ("{name}")
Take the value out of the variable name
9. Lr_output_message ("name% s:", lr_eval_string ("{name}"))
Print, output
10. Lr_output_message ("number d", atoi (lr_eval_string ("{count123}")
Convert atoi to numbers
11. If judgment
If (num > 6)
{
Lr_output_message ("123")
}
Else
{
Lr_output_message ("456")
}