51Testing软件测试论坛

标题: 求教参数化问题 [打印本页]

作者: fish_yy    时间: 2005-12-7 10:15
标题: 求教参数化问题
int i;
    static char *type[]={"A'","B","B'"};
 for (i=0;i<=2;i++)
   {
        web_submit_data("inputactive.do_4",
                "Action=http://192.168.0.227:8080/dsaes/inputactive.do",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.0.227:8080/dsaes/inputactive.do",
                "Snapshot=t13.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=actionMethod", "Value=singleInput", ENDITEM,
                "Name=schoolid", "Value=4028806307f91bbb0107f91c62440002", ENDITEM,
                "Name=schoolname", "Value=测试小学", ENDITEM,
                "Name=grade_hidden", "Value=2012001,1", ENDITEM,
                "Name=select_grade", "Value=2012001,1", ENDITEM,
                "Name=class_hidden", "Value=2012001,1,1", ENDITEM,
                "Name=select_class", "Value=2012001,1,1", ENDITEM,
                "Name=select_classall", "Value=2012001,1,1", ENDITEM,
                "Name=studentids", "Value=4028806307f91bbb0107f91e3687000a", ENDITEM,
                "Name=studentids", "Value=4028806307f91bbb0107f91e36680009", ENDITEM,
                "Name=checkbox", "Value=checkbox", ENDITEM,
                "Name=resunitid", "Value=4028806307f91bbb0107f91c62440003", ENDITEM,
                "Name=resunitInputType", "Value=select", ENDITEM,
                "Name=resunitname", "Value=测试小学", ENDITEM,
                "Name=resunitnameInput", "Value=", ENDITEM,
                "Name=evaCritId", "Value={id}", ENDITEM,
                "Name=gradeSort", "Value={type}'", ENDITEM,
                "Name=actionDate", "Value=2005-12-05", ENDITEM,
                "Name=actionDays", "Value=1", ENDITEM,
                "Name=actionTheme", "Value={hdbt}", ENDITEM,
                "Name=disp_grade_all", "Value=0", ENDITEM,
                "Name=disp_class_all", "Value=0", ENDITEM,
                EXTRARES,
                "Url=images/back.gif", ENDITEM,
                LAST);
   }

请问为何参数化数组无效呢?
作者: jut984907    时间: 2005-12-7 10:29
标题: 这个参数
此参数化非彼参数化啊。
多看看论坛中关于“参数化”的帖子
作者: fish_yy    时间: 2005-12-7 10:40
能具体说一说那篇吗,没找着,呵呵




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