LR12做前程贷的登录,投标2019-04-08
Action()
{
//进入前程贷页面
web_url("web_url",
"URL=http://120.78.128.25:8765/Index/login.html ",
"TargetFrame=",
"Resource=0",
"Referer=",
"Mode=HTML",
LAST);
//用“登录成功”字样做登录的关联
web_reg_save_param_ex(
"ParamName=success",
"LB/BIN/RE=class=\"success\">",
"RB=</p>",
"Ordinal=1",
SEARCH_FILTERS,
"Scope=ALL",
// "RelFrameID=1",
// "RequestUrl=1",
// "ContentType=1",
LAST);
//登录
lr_start_transaction("前程贷登录");
web_submit_data("login",
"Action=http://120.78.128.25:8765/Frontend/Index/login",
"Method=POST",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"TargetFrame=",
"RecContentType=application/json, text/javascript, */*; q=0.01",
"Referer=