录制完成之后增加事件,编译时候报错
录制完成之后增加事件,编译时候报错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 将lr_start_transaction("message page");
放到web_submit_data之前。
事务都不会加吗?
明明报语法错误了呀! 楼上正解 同意。 催晓帅? 这个错误,一声叹息 报错明显是那几个在中文输入法下输入的问题,而且像楼上说的,事务函数位置摆放明显有问题,欢迎加测试群260113421 呵呵 第一语法有问题,第二事务的函数摆放的位置不对吧
页:
[1]