|
手动关联在场景运行中提示如下错误,在调试脚本中运行时,没有报错:
choice1.c(18): Error -26377: No match found for the requested parameter "MyViewState3". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 900000 bytes, use web_set_max_html_param_len to increase the parameter size
脚本如下
web_set_max_html_param_len("900000");
web_reg_save_param("MyViewState3",
"LB=__VIEWSTATE|",
"RB=|",
"Search=Body",
LAST);
web_reg_save_param("MyEVENTVALIDATION3",
"LB=__EVENTVALIDATION|",
//"LB=",
"RB=|",
//"RB=",
"Search=Body",
LAST);
lr_think_time (1);
web_submit_data("assign_room.aspx_2",
"Action=http:///aspx/assign_room.aspx",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://:8090/itaswebmis/aspx/assign_room.aspx",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=ctl00$ScriptManager1", "Value=ctl00$UpdatePanel1|ctl00$cphPage$ddlClass", ENDITEM,
"Name=__EVENTTARGET", "Value=ctl00$cphPage$ddlClass", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__LASTFOCUS", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState6}", ENDITEM,
"Name=__EVENTVALIDATION", "Value={MyEVENTVALIDATION1}", ENDITEM,
"Name=ctl00$cphPage$ddlClass", "Value={regionid},2", ENDITEM,
"Name=ctl00$cphPage$tbExamineeID", "Value=", ENDITEM,
"Name=ctl00$cphPage$RoomSceneList1$ddlRoomScene", "Value={RoomSceneID}", ENDITEM,
"Name=__ASYNCPOST", "Value=true", ENDITEM,
LAST);
lr_error_message ("MyViewState3=%s",lr_eval_string ("{MyViewState3}"));
lr_error_message ("MyEVENTVALIDATION3=%s",lr_eval_string ("{MyEVENTVALIDATION3}"));
return 0; |
|