1. After the system login is successful, add a checkpoint to verify that the login is successful.
2. After the script has been recorded, switch to the tree view, right-click in the step where you want to add a checkpoint, select before the step, or after the step,
The checkpoint I want to add is the "app list" Check Point for Chinese.
After the addition is complete, Find--web_find appears
3, the script will add a function
Web_url ("projectlist.html", "url=http://pro.moojnn.com/projects/projectlist.html?mojing-token={correlationparameter_1}", "targetframe=", "resource=0", "reccontenttype=text/html", "referer=http://pro.moojnn.com/projects.html", "Snapshot=t5.inf", "mode=html", Extrares,"url=. /mojing-server/project? mojing-token={correlationparameter_1}","referer=http://pro.moojnn.com/projects.html", Enditem, last); Web_find ("Web_find", "what= Application List", last);
4, because the checkpoint is Chinese, so when recording the script to choose the encoding is Utf-8, in the tools-recoding options set in the Advanced settings,
5, if the first recording time did not choose to encode utf-8, add Chinese checkpoint, playback time will still fail.
Need to re-record, and choose the encoding as Utf-8, and then add the Chinese checkpoint, and then playback time is successful.
6, after viewing the playback results, said: The checkpoint was skipped, did not perform the following:
Follow the instructions to check that the check under Advanced is not checked. Then tick back to replay one side;
The results of the implementation are as follows:
LoadRunner adding checkpoints