为什么要加检查点?
验证用户是否真实的处理业务
检查点设置的方式
一、录制中添加检查点
录制的脚本请看下面
Action()
{
web_url("webtours",
"URL=http://127.0.0.1:1080/webtours/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=http://www.bing.com/favicon.ico", "Referer=", ENDITEM,
LAST);
//设置的检查点
web_reg_find("Text=jojo",
LAST);
lr_think_time(6);
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/webtours/login.pl",
"Method=POST",
"TargetFrame=body",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/w