|
web_url("myportal",
"URL=http://crm.gtja.net:10038/wps/myportal",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_end_transaction("首页", LR_AUTO);
lr_start_transaction("登录");
web_url("names.nsf",
"URL=http://domino7test2.gtja.net/names.nsf?login&username={username}&password={password}&redirectto=http://crm.gtja.net:10038/wps/myportal",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
lr_end_transaction("登录", LR_AUTO);
lr_start_transaction("个人信息");
web_url("personInfo.fe",
"URL=http://crm.gtja.net:10038/platform/personInfo.fe?method=initPersonInfo&userid=test001",
"Resource=0",
"RecContentType=text/html",
"Referer=http://crm.gtja.net:10038/wps/myportal",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
在录制脚本时,登录是用test001的用户名,那么下面的个人信息的userid也是test001,那我登录的用户名做了参数化,那么userid部分是应该做参数化成和用户名相同,还是应该做关联? |
|