录制脚本成功,但事物中录制的脚本为空,在线急等!!!
录制一个查询页面,其他元素都录制进去了,设置查询按钮操作为一个事物,但录制成功后,事物中为空( lr_start_transaction("sqdcx");lr_end_transaction("sqdcx",LR_AUTO);),很头疼,请各位帮忙,下面的脚本
Action()
{
web_url("index.jspx",
"URL=http://10.107.16.230:8125/member/index.jspx",
"Resource=0",
"RecContentType=text/html",
"Referer=http://10.107.16.230:8125/",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=../r/cms/www/red/12345/layer/skin/layer.css", ENDITEM,
"Url=../r/cms/www/red/12345/layer/skin/default/xubox_ico0.png", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_8.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/nav_border.png", ENDITEM,
"Url=../r/cms/www/red/12345/images/banner.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_1.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_2.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_5.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/username_bg.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/password_bg.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_3.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_7.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_4.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/home_icon.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/logo_b.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/logo_2.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/arrow_blue.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/tc_index_6.jpg", ENDITEM,
"Url=../r/cms/www/red/12345/images/icon_add.jpg", ENDITEM,
"Url=../r/shline12345/iecss3.htc", ENDITEM,
LAST);
web_link("鎴戠殑璇夋眰",
"Text=鎴戠殑璇夋眰",
"Snapshot=t5.inf",
EXTRARES,
"Url=iecss3.htc", "Referer=", ENDITEM,
"Url=images/banner.jpg", ENDITEM,
"Url=images/home_icon.jpg", ENDITEM,
"Url=images/arrow_blue.jpg", ENDITEM,
"Url=images/logo_2.jpg", ENDITEM,
"Url=images/logo_b.jpg", ENDITEM,
"Url=images/nav_border.png", ENDITEM,
"Url=/selectRpinfo.jspx?index=1&begin=&end=&rpid=", ENDITEM,
"Url=/selectRpinfo.jspx?index=1&begin=2015-3-3&end=2015-3-4&rpid=", ENDITEM,
LAST);
web_custom_request("getUserMessage.jspx",
"URL=http://10.107.16.230:8125/getUserMessage.jspx",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://10.107.16.230:8125/r/shline12345/personal_4.html",
"Snapshot=t6.inf",
"Mode=HTML",
"EncType=",
LAST);
lr_start_transaction("sqdcx");
lr_end_transaction("sqdcx",LR_AUTO);
return 0;
}
开发人员说这个查询按钮,不是调用表单,而是使用ajax的异步调用查询的,本人不是很明白,请各位指教。
页:
[1]