51Testing软件测试论坛
标题:
新手請教關聯的問題
[打印本页]
作者:
nuskin_tw3
时间:
2006-3-29 19:41
标题:
新手請教關聯的問題
#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
作者:
jut984907
时间:
2006-3-30 14:45
标题:
系统找不到需要的参数
看看页面返回的数据中,是否是这么取的
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2