|
对网页中的删除操作,录制脚本进行回放总是报错,是不是要对删除的该条记录做关联,并将关联的值保存起来,具体又是怎么样去做 有没有知道的啊,我是按下面方式去做的,但是总是通不过,主要脚本如下:web_url("查看",
"URL=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id=402880421b29d5f7011b2a8eab350048",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_050130_QList",
"Snapshot=t74.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("yahoo-min.js_5",
"URL=http://www.yitong.com.cn:8888/cms//plugins/YahooUI/yahoo-min.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id={test2}",
"Snapshot=t75.inf",
LAST);
web_url("event-min.js_5",
"URL=http://www.yitong.com.cn:8888/cms//plugins/YahooUI/event-min.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id={test2}",
"Snapshot=t76.inf",
LAST);
web_url("connection-min.js_4",
"URL=http://www.yitong.com.cn:8888/cms//plugins/YahooUI/connection-min.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id={test2}",
"Snapshot=t77.inf",
LAST);
web_url("util-min.js_3",
"URL=http://www.yitong.com.cn:8888/cms//page/validate/util-min.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id=402880421b29d5f7011b2a8eab350048",
"Snapshot=t78.inf",
LAST);
web_url("validate-min.js_3",
"URL=http://www.yitong.com.cn:8888/cms//page/validate/validate-min.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id=402880421b29d5f7011b2a8eab350048",
"Snapshot=t79.inf",
LAST);
web_url("check-min.js_3",
"URL=http://www.yitong.com.cn:8888/cms//page/validate/check-min.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id=402880421b29d5f7011b2a8eab350048",
"Snapshot=t80.inf",
LAST);
web_url("money.js_3",
"URL=http://www.yitong.com.cn:8888/cms//page/scripts/money.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id={test2}",
"Snapshot=t81.inf",
LAST);
web_url("css.css_4",
"URL=http://www.yitong.com.cn:8888/cms//page/styles/css.css",
"Resource=1",
"RecContentType=text/css",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id={test2}",
"Snapshot=t83.inf",
LAST);
web_concurrent_end(NULL);
web_url("WebCalendar.js_3",
"URL=http://www.yitong.com.cn:8888/cms//page/scripts/WebCalendar.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_0501_Load&page=1&id={test2}",
"Snapshot=t82.inf",
LAST);
lr_think_time( 3 );
web_submit_data("a_0501.shtml_3",
"Action=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=update",
"Method=POST",
"RecContentType=text/html",
"Referer=http://www.yitong.com.cn:8888/cms/reportlieover/a_0501.shtml?action=a_050130_QList",
"Snapshot=t84.inf",
"Mode=HTTP",
ITEMDATA,
"Name=id", "Value={test2}", ENDITEM,
"Name=yj", "Value=移 交", ENDITEM,
LAST); |
|