|
2#
楼主 |
发表于 2008-11-25 13:51:58
|
只看该作者
脚本代码如下:
Action()
{
web_url("adminLogin.jsp",
"URL=http://127.0.0.1:8080/cb-service/adminLogin.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time(11);
web_submit_form("login.do",
"Snapshot=t2.inf",
ITEMDATA,
"Name=model.userid", "Value=administrator", ENDITEM,
"Name=model.password", "Value=111111", ENDITEM,
"Name=Submit", "Value= 登 录 ", ENDITEM,
LAST);
web_add_cookie("submenu=0|none; DOMAIN=127.0.0.1");
web_link("版本上传",
"Text=版本上传",
"Snapshot=t3.inf",
LAST);
web_url("delFile.do",
"URL=http://127.0.0.1:8080/cb-service/admin/delFile.do?id=1.7",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
这个弹出对呀,提示:删除成功
页面的一条信息被删除
return 0;
}
请各位高手指教一下,该怎么处理 |
|