|
录制完成之后增加事件,编译时候报错
Action()
{
web_submit_data("wow.php_2",
"Action=http://172.16.20.76/wow.php/wow.php?do=ms&sub=login",
"Method=POST",
"RecContentType=text/html",
"Referer=http://172.16.20.76/wow.php/?do=ms&sub=login",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=admin", ENDITEM,
"Name=password", "Value=111111", ENDITEM,
"Name=loginsubmit", "Value=登录", ENDITEM,
"Name=formhash", "Value=b0c6c1d3", ENDITEM,
lr_start_transaction("message page");
EXTRARES,
"Url=../wow/tpl/msres/header_bg.jpg", "Referer=http://172.16.20.76/wow.php/wow.php?do=ms&sub=index", ENDITEM,
"Url=../wow/tpl/msres/header_navselected.jpg", "Referer=http://172.16.20.76/wow.php/wow.php?do=ms&sub=index", ENDITEM,
"Url=../wow/tpl/msres/menu_listpoint.gif", "Referer=http://172.16.20.76/wow.php/wow.php?do=ms&sub=index", ENDITEM,
"Url=../wow/tpl/msres/section_bg.gif", "Referer=http://172.16.20.76/wow.php/wow.php?do=ms&sub=welcome", ENDITEM,
"Url=../wow/tpl/msres/header_navfree.jpg", "Referer=http://172.16.20.76/wow.php/wow.php?do=ms&sub=index", ENDITEM,
LAST);
lr_end_transaction("message page", LR_AUTO);
return 0;
}
录制完成之后增加事件,编译时候报错
Action.c (16): syntax error; found `;' expecting `)'
Action.c (23): syntax error; found `)' expecting `;'
Action.c (23): illegal statement termination
Action.c (23): skipping `)'
c:\\documents and settings\\cuixiaoshuai\\local settings\\temp\\noname11\\\\combined_noname11.c (5): 4 errors, not writing pre_cci.ci |
|