|
原始代码:
web_url("vams",
"URL=http://127.0.0.1:8888/vams/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=images/back3.gif", ENDITEM,
"Url=images/back2.gif", ENDITEM,
"Url=images/back4.gif", ENDITEM,
LAST);
lr_think_time(9);
web_submit_form("login.faces;jsessionid=E7AE2EEAC99241D3498EC5DD063FC687",
"Snapshot=t2.inf",
ITEMDATA,
"Name=login:userName", "Value=admin", ENDITEM,
"Name=login:password", "Value=admin123", ENDITEM,
"NamePfx=login:j_id_jsp_", "Value=0", ENDITEM,
"NamePfx=login:j_id_jsp_", "Value=0", ENDITEM,
自动关联后的代码
web_reg_save_param("WCSParam_Diff1",
"LB=jsessionid=",
"RB=\"",
"Ord=1",
"RelFrameId=1",
"Search=Body",
"IgnoreRedirections=Yes",
LAST);
web_url("vams",
"URL=http://127.0.0.1:8888/vams/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"URL=images/back3.gif", ENDITEM,
"URL=images/back2.gif", ENDITEM,
"URL=images/back4.gif", ENDITEM,
LAST);
lr_think_time(9);
web_submit_form("login.faces;jsessionid={WCSParam_Diff1}",
"Snapshot=t2.inf",
ITEMDATA,
有哪位高手 帮忙看看到底问题出在哪里了,脚本回放时一直都是失败,并且提示的是27979 错误,找不到表单
[ 本帖最后由 xiaorong523 于 2009-12-25 13:45 编辑 ] |
|