|
Action()
{
web_reg_find("Text=Mercury Tours",
LAST);
lr_think_time(5);
web_submit_data("login.pl",
"Action=http://localhost:1080/mercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:1080/mercuryWebTours/nav.pl?in=home",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=99250.4644795464fVAfVQfpHzzzzzzHDAzDVpVHtz", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
return 0;
}
这是源代码,以前从来没出现过这样的错误的,今天录制好了脚本回放了一次老是出现错误,错误如下
Action.c(18): Error -26366: "Text=Mercury Tours" not found for web_reg_find [MsgId: MERR-26366]
Action.c(18): web_submit_data("login.pl") highest severity level was "ERROR", 748 body bytes, 225 header bytes [MsgId: MMSG-26388]
不知道怎么解决了,请各位大侠帮帮忙啊 |
|