|
注册脚本录制成功后,对其进行参数化,回放 ,提示没有出错 Results.qtp,submitdata:Reguserinfo.do
提示 Internet Explorer 脚本错误
lr_think_time(6);
lr_rendezvous("Zhu_Ce_02_04");
lr_start_transaction("ZHU_CE_02_04");
web_submit_data("RegUserinfo.do",
"Action=http://www.xxx.com/Register/RegUserinfo.do",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://www.xxx.com/Register/RegUserinfo.do",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=userid", "Value={Userid_02_04}", ENDITEM,
"Name=password", "Value={PassWord_02_04}", ENDITEM,
"Name=tablekey", "Value={TableKey_02_04}", ENDITEM,
"Name=email", "Value={Email_04_02}", ENDITEM,
"Name=validatecode", "Value=asdq", ENDITEM,
"Name=user_type", "Value=0", ENDITEM,
"Name=method", "Value=RegUserinfoUpdate", ENDITEM,
"Name=id", "Value=0", ENDITEM,
LAST);
lr_end_transaction("ZHU_CE_02_04", LR_AUTO);
Error:84800
insufficient records for param 'Zhu_Ce04_02' in table to provide the Vuser with unique data
[ 本帖最后由 laipi 于 2008-4-2 15:41 编辑 ] |
|