|
#include "web_api.h"
Action()
{
web_reg_save_param("viewstate1","LB/IC=viewstate\" value=\"","RB/IC=\"",LAST);
web_reg_save_param("usersession","LB=/(","RB=)/",LAST);
web_url("test1",
"URL=http://192.168.x.x/test1",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/test1/{usersession}/image/top_t01.gif", "Referer=http://192.168.x.x/test1/{usersession}/Default.aspx", ENDITEM,
LAST);
web_reg_save_param("casenum","LB/IC=佇列案件(","RB/IC=)<",LAST);
web_submit_data("Default.aspx",
"Action=http://192.168.x.x/test1/{usersession}/Default.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.x.x/test1/{usersession}/Default.aspx",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value={viewstate1}", ENDITEM,
"Name=staffid", "Value=test1", ENDITEM,
"Name=logineloan", "Value=nJt", ENDITEM,
EXTRARES,
"Url=image/top_back.jpg", "Referer=http://192.168.x.x/test1/{usersession}/toolbar1.aspx", ENDITEM,
"Url=image/top_icon001a.jpg", "Referer=http://192.168.x.x/test1/{usersession}/toolbar1.aspx", ENDITEM,
LAST);
return 0;
}
從一張圖login後進入到第二張圖, 想再第二張圖擷取佇列案件數, 上面的寫法都會出現下面
的錯誤訊息, 是否有先進可以幫忙解惑 感激.^^
Error -26377: No match found for the requested parameter "casenum". Check whether the requ |
|