|
碰到同样的问题
vuser_init()
{
web_url("192.168.3.3:8008",
"URL=http://192.168.3.3:8008/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",EXTRARES,
"URL=/style/default.css", ENDITEM,
"URL=/images/bg/ifmis_login_bg.gif", ENDITEM,
"URL=/images/buttons/login_button.gif", ENDITEM,
"URL=/images/bg/font.gif", ENDITEM,
LAST);
web_find("web_find",
"What=用户",
LAST);
lr_log_message("check the image");
lr_think_time(15);
web_submit_data("login.do",
"Action=http://192.168.3.3:8008/login.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.3.3:8008/",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
回放的时候提示:vuser_init.c (17): undeclared identifier `EXTRARES'
vuser_init.c (18): undeclared identifier `ENDITEM'
vuser_init.c (22): undeclared identifier `LAST'
vuser_init.c (37): undeclared identifier `ITEMDATA'
e:\\script\\8008\\\264\246\312\322\326\270\261\352\274\323\324\330\\\\combined_\264\246\312\322\326\270\261\352\274\323\324\330.c (5): 4 errors, not writing pre_cci.ci
谢谢 |
|