|
4#
楼主 |
发表于 2011-1-13 10:02:24
|
只看该作者
正常执行时,提交请求会转到结果页,上面有“留言类型”字样。超时会到首页,上面有“友情链接”字样。我修改了一下脚本。
web_reg_find("Text=留言类型",
"SaveCount=usr",
"Search=All",
LAST);
web_reg_find("Text=友情链接",
"SaveCount=portal",
"Search=All",
LAST);
web_submit_data("MyMessagesAction_2",
"Action=http://10.4.66.212:28080/xxt-teacher/MyMessagesAction?method=getList",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.4.66.212:28080/xxt-teacher/MyMessagesAction?method=initDate",
"Snapshot=t109.inf",
"Mode=HTTP",
ITEMDATA,
"Name=attachId", "Value=", ENDITEM,
"Name=param_hwStartDate", "Value=2007-01-01 ", ENDITEM,
"Name=param_hwEndDate", "Value=2011-01-12", ENDITEM,
"Name=optstuts", "Value=", ENDITEM,
"Name=param_curpage", "Value=", ENDITEM,
"Name=param_ipagecount", "Value=", ENDITEM,
"Name=rowPerPage", "Value=15", ENDITEM,
LAST);
web_concurrent_start(NULL);
结果:友情链接 永远都找不到
写脚本这实在是不熟。请大家告诉我 正确的写法是什么吧? |
|