|
web_reg_save_param("Siebel_Analytic_ViewState6",
"LB/IC=ViewState\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_reg_save_param("param",
"LB/IC=EVENTVALIDATION\" value=\"",
"RB/IC=\"",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_url("frmWHIN_SupDeliveryPlanAdd.aspx",
"URL=http://192.168.0.3:9090/WMS/frmWHIN_SupDeliveryPlanAdd.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.3:9090/frmMain.aspx",
"Snapshot=t41.inf",
"Mode=HTML",
EXTRARES,
"Url=jsfiles/skin/WdatePicker.css", ENDITEM,
"Url=../images/p-up-con-bg.gif", ENDITEM,
"Url=../images/p-up-b.gif", ENDITEM,
LAST);
web_url("My97DatePicker.htm",
"URL=http://192.168.0.3:9090/WMS/jsfiles/My97DatePicker.htm",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.3:9090/frmMain.aspx",
"Snapshot=t42.inf",
"Mode=HTML",
EXTRARES,
"Url=lang/zh-cn.js", ENDITEM,
"Url=skin/default/datepicker.css", ENDITEM,
"Url=skin/whyGreen/datepicker.css", ENDITEM,
"Url=skin/default/img.gif", ENDITEM,
LAST);
web_url("frmSel_WHBA_Supplier.aspx",
"URL=http://192.168.0.3:9090/WMS/frmSel_WHBA_Supplier.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.3:9090/WMS/frmWHIN_SupDeliveryPlanAdd.aspx",
"Snapshot=t43.inf",
"Mode=HTML",
LAST);
web_submit_data("frmWHIN_SupDeliveryPlanAdd.aspx_2",
"Action=http://192.168.0.3:9090/WMS/frmWHIN_SupDeliveryPlanAdd.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.0.3:9090/WMS/frmWHIN_SupDeliveryPlanAdd.aspx",
"Snapshot=t44.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=save", ENDITEM, ///wEWBQLJu7YQAtjv4LIIAry0j/wOAv3b+aUIApy3uJIMf+ZXPU3mQNSUExQlNJs6G0BpeiE=
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState6}", ENDITEM,
"Name=__EVENTVALIDATION", "Value={param}", ENDITEM,
"Name=txtInvoiceNo", "Value=", ENDITEM,
"Name=txtSupplierID", "Value=2222", ENDITEM,
"Name=txtDeliveryDate", "Value=2010-06-30", ENDITEM,
LAST);
查了资料EVENTVALIDATION是页面自动生成的,这个录制的脚步中EVENTVALIDATION参数化,是否正确?
这段脚本上面有一些登陆的,我将登陆名和密码参数化了(确保参数化成功),循环2次,为什么第一次成功,
第二次就提示
Action.c(591): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.0.3:9090/WMS/frmWHIN_SupDeliveryPlanAdd.aspx" [MsgId: MERR-26612]
Action.c(591): web_submit_data highest severity level was "ERROR", 2907 body bytes, 240 header bytes [MsgId: MMSG-27178] |
|