51Testing软件测试论坛
标题:
日志中出现错误,请关注!!
[打印本页]
作者:
njsjh1983
时间:
2006-2-7 10:13
标题:
日志中出现错误,请关注!!
#include "web_api.h"
Action()
{
my_host = lr_get_host_name( );
lr_error_message
lr_rendezvous("查找");
/*
* 这是一个查找
*
*/
web_url("s",
"URL=http://www.baidu.com/s?wd=%C9%EA%BD%AD%BB%D4&cl=3",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.baidu.com/",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
return 0;
}
这是我录制的脚本,日志中出现三个问题,该怎麽调整怎能解决?谢谢帮助!!
问题是:
declared identifier `my_host'
Action.c (6): operands of = have illegal types `int' and `pointer to char'
Action.c (9): syntax error; found `lr_rendezvous' expecting `;'
c:\\documents and settings\\jianfeng_li.ladder-wsa3an1d\\\327\300\303\346\\1\\\\combined_1.c (4): 3 errors, not writing pre_cci.ci
作者:
xyuan007
时间:
2006-2-7 13:29
my_host变量没有声明
作者:
jacky8024
时间:
2006-2-7 16:33
1个是变量没有声明,1个是lr_error_message 后面没有;
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2