51Testing软件测试论坛

标题: 手动关联在场景运行中提示如下错误 [打印本页]

作者: wuyuhua    时间: 2012-3-14 11:06
标题: 手动关联在场景运行中提示如下错误
手动关联在场景运行中提示如下错误,在调试脚本中运行时,没有报错:
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;
作者: wuyuhua    时间: 2012-3-14 12:32
回复 1# wuyuhua


    为什么没有人回答呢
作者: bounty    时间: 2012-3-14 13:58
查看一下关联的边界,是不是边界定义不对?
作者: 宋浅静    时间: 2012-8-30 09:14
同问~




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2