|
2#
楼主 |
发表于 2007-6-5 16:26:06
|
只看该作者
我把以上的脚本加了关联,但是出错了,这个问题困饶了一个星期
Action()
{
web_add_cookie("entAccount=gdc; DOMAIN=www.mo-home.cn");
web_add_cookie("userName=13556004244; DOMAIN=www.mo-home.cn");
web_reg_save_param("sk","LB=Value=","RB=","ORD=1",LAST);
web_url("index.jsp",
"URL=http://www.mo-home.cn/web/index.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=image/body_bg.jpg", ENDITEM,
"Url=image/line.gif", ENDITEM,
LAST);
web_submit_form("login.jsp",
"Snapshot=t2.inf",
ITEMDATA,
"Name=userName", "Value=13556004244", ENDITEM,
"Name=userPWD", "Value=888888", ENDITEM,
"Name=code", "Value={sk}", ENDITEM,
EXTRARES,
"Url=C_login/style.css", "Referer=http://www.mo-home.cn/web/C_login/index.jsp", ENDITEM,
"Url=C_login/images/img.swf", "Referer=http://www.mo-home.cn/web/C_login/top.jsp", ENDITEM,
"Url=C_login/images/left_bgmiddle.gif", "Referer=http://www.mo-home.cn/web/C_login/left.jsp", ENDITEM,
"Url=C_login/images/left_menubg.gif", "Referer=http://www.mo-home.cn/web/C_login/left.jsp", ENDITEM,
"Url=C_login/images/left_line1.gif", "Referer=http://www.mo-home.cn/web/C_login/left.jsp", ENDITEM,
"Url=C_login/images/main_line1.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=home_img/img.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=C_login/images/main_bgtop1.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=home_img/daoheng_bg.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=home_img/img2.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=C_login/images/main_bgmiddle.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=C_login/images/main_bgtop2.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=home_img/last.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=C_login/images/time_icon1.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=home_img/next.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=home_img/last2.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=C_login/images/btn1.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
"Url=home_img/next2.gif", "Referer=http://www.mo-home.cn/web/C_login/main.jsp", ENDITEM,
LAST);
lr_think_time(4);
web_link("业务查询",
"Text=业务查询",
"Snapshot=t3.inf",
EXTRARES,
"Url=../home_img/button_bg.gif", "Referer=http://www.mo-home.cn/web/OperTransact/tran4.jsp?epname=业务查询", ENDITEM,
LAST);
web_url("logout.jsp",
"URL=http://www.mo-home.cn/web/logout.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.mo-home.cn/web/C_login/index.jsp",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_url("index.jsp_2",
"URL=http://www.mo-home.cn/web/index.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
return 0;
} |
|