LR一个提交用户资料的操作脚本,请教如何关联。谢谢!
错误: Action.c(541): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.0.43:8219/Enterprise/CompanyInfo.aspx"Action.c(541): web_submit_data("CompanyInfo.aspx_2") highest severity level was "ERROR", 6799 body bytes, 240 header bytes
脚本前面 普通的登录 浏览操作 没问题, 最后一步提交操作报错
web_concurrent_end(NULL);
web_url("img.gif",
"URL=http://192.168.0.43:8219/lib/scripts/My97DatePicker/skin/default/img.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.0.43:8219/lib/scripts/My97DatePicker/My97DatePicker.htm",
"Snapshot=t55.inf",
LAST);
lr_think_time(6);
web_submit_data("CompanyInfo.aspx_2",
"Action=http://192.168.0.43:8219/Enterprise/CompanyInfo.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.0.43:8219/Enterprise/CompanyInfo.aspx",
"Snapshot=t56.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__EVENTTARGET", "Value=", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState6}", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWIgK8k6ydDQKz38WbDwKrsKeqBQK334CTBgL5l4vaDAKP4NfYBgKAteGADALv7ITZAgKCqNTbDAKH+/LHDgLrseiLAwL8v/mQBwL6wNa/AgLq6NohAsSE3NEPAt7RnvsCAq+e/8kKAoeWweQLAubhkowEAoTz/boMAu6qws8GArzoy/gFArqXsfADApHD6oQIAuPtt5oOAp/Sh3YC0O2gUQKZ2M+YCgLZn7jVBQL7ls/WCALFxMfbDwLc9If9BgKct7iSDALCi9bdAy+GZfGEIAp7b/13hKFm/+VTuNbc", ENDITEM,
"Name=hiddCompanyID", "Value=2113", ENDITEM,
"Name=txtPreCompanyName", "Value=", ENDITEM,
"Name=lblAreaName$ddlProvice", "Value=120000", ENDITEM,
"Name=lblAreaName$ddlCity", "Value=", ENDITEM,
"Name=lblAreaName$txtAreaName", "Value=澶╂触甯\x82", ENDITEM,
"Name=txtRegAddress", "Value=1", ENDITEM,
"Name=txtAddress", "Value=2", ENDITEM,
"Name=txtCompanyTel", "Value=3", ENDITEM,
"Name=txtFax", "Value=4", ENDITEM,
"Name=txtFixFund", "Value=5.00", ENDITEM,
"Name=txtZipCode", "Value=", ENDITEM,
"Name=txtLastYearIncome", "Value=6", ENDITEM,
"Name=txtTotalFund", "Value=8.00", ENDITEM,
"Name=txtLawer", "Value=7", ENDITEM,
"Name=txtLawerIdCard", "Value=", ENDITEM,
"Name=txtMandatary", "Value=寮犱笁", ENDITEM,
"Name=txtMandataryIdCard", "Value=41", ENDITEM,
"Name=txtMobilePhone", "Value=139139139139", ENDITEM,
"Name=txtEmail", "Value=9", ENDITEM,
"Name=txtBusinessLicence", "Value=1", ENDITEM,
"Name=txtBusinessDate", "Value=2012-08-01", ENDITEM,
"Name=txtWarrantCode", "Value=2", ENDITEM,
"Name=txtWarranDate", "Value=2012-08-16", ENDITEM,
"Name=txtBusinessScope", "Value=3", ENDITEM,
"Name=txtCompanyCode", "Value=4", ENDITEM,
"Name=txtCodeDate", "Value=2012-08-16", ENDITEM,
"Name=txtIntroduction", "Value=", ENDITEM,
"Name=txtLCLevel", "Value=", ENDITEM,
"Name=txtLCCode", "Value=", ENDITEM,
"Name=txtLCDate", "Value=", ENDITEM,
"Name=txtBadRecord", "Value=", ENDITEM,
"Name=btnSummit", "Value=鎻愪氦", ENDITEM,
LAST);
web_url("global.js",
"URL=http://192.168.0.43:8219/lib/scripts/global.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://192.168.0.43:8219/Enterprise/CompanyInfo.aspx",
"Snapshot=t57.inf",
LAST);
web_url("icon64_info.png",
"URL=http://192.168.0.43:8219/lib/images/icon64_info.png",
"Resource=1",
"RecContentType=image/png",
"Referer=http://192.168.0.43:8219/Enterprise/CompanyInfo.aspx",
"Snapshot=t58.inf",
LAST);
web_url("CompanyInfo.aspx_3",
"URL=http://192.168.0.43:8219/Enterprise/CompanyInfo.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.43:8219/center.aspx",
"Snapshot=t59.inf",
"Mode=HTTP",
LAST); LR新手。 没做过关联, 请教下大概要如何操作。 顶自己一下,望提携~~
页:
[1]