//关联服务端返回的ResumeID值。
web_reg_save_param("ResumeID","LB=ID=","RB=&","Search=All",LAST);
web_submit_data("CreateResume1st.aspx",
"Action=http://172.16.0.88/Person/CreateResume1st.aspx?strLanguage=",
"Method=POST",
"RecContentType=text/html",
"Referer=http://172.16.0.88/Person/CreateResume1st.aspx?strLanguage=",
"Snapshot=t38.inf",
"Mode=HTTP",
ITEMDATA,
......
LAST);
//将关联到ID值赋给URL,实现URL的更新操作
strcpy(Url,"172.16.0.88/Person/CreateResume2nd.aspx?lastFlag=A&ID=");
strcat(Url,lr_eval_string("{ResumeID}"));
strcat(Url,"&flag=1");
//将得到的URL赋给数组TempUrl1,将其作为实参传递到Web_Submit_data()中
//将得到的URL赋给数组TempUrl2,将其作为实参传递到Web_url和Web_Submit_data()跳转属性当中
GetUrl(TempUrl1,TempUrl2);
//然后将新的URL值赋给Web_Url当中。
上述方法在编译和脚本运行中都没有问题。
但是当它在场景中运行时,就会出错:
错误如下:
CreateResume1.c(8): Continuing after Error -26377: No match found for the requested parameter "ResumeID". Check whether the requested boundaries exist in the response data