LR some small accumulation of their own summarized

Source: Internet
Author: User

The user name password is parameterized, because the user name password is one by one corresponding to each other, so password here to set up a bit.

And if you want to see the parameters after parameterization to perform success or failure, set the log information in runtime setting.

After playing back the recorded script, Ctrl+f8, let LR automatically detect the correlation points, if not found can also use WinDiff and other file comparison tool, manual association should be like this:

Let me give you an example:

For example, the source of <input type= "hidden" id= "OrderId" name= "OrderId" value= "f28958249e141e62312d855ce73252d3"/> The value of the OrderID is associated, then we can write:

Web_reg_save_param ("OrderId",
"Lb=name=\" orderid\ "value=\" ",
"Rb=\" ",
last);

This is to find the left edge of the entire HTML file: name= "orderId" value= "

The right boundary is: "

The value of the intermediate text, which is found and assigned to OrderID.

Such a manual connection is done, very simple.

In addition: Web_reg_save_param is generally used before committing web_submit_form, or web_url functions.

Url-base Script Html-base Script difference

Web systems can be used with http-baseed and url-baseed, but a lot of http-baseed can't do, url-baseed can do.
Url-baseed can record the action of all the URLs during the operation, and Http-baseed only record the action of the URL directly related to the operation of the user, without the action of JS, GIF and other URL actions, This results in some auxiliary URL operations not being reflected in the http-baseed, which may result in an error. For example, some time ago someone asked a GIS system why recording error, is because a page has more content is generated by a JS file, and he did not record this JS file, he must use Url-baseed mode.
But Url-baseed's recorded scripts are cumbersome.

LR some small accumulation of their own summarized

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.