|
本人为新手,遇到如下问题,直接附上代码和日志,求解答
Action脚本如下:
Action()
{
lr_output_message("i am in action");
lr_start_transaction("trade");
web_reg_find("TextCheckPoint",
"NOFOUND=ERROR",
"LB=Welcome",
"RB=Manager",
LAST
);
lr_output_message("TextCheckPoint:%s",lr_eval_string("{TextCheckPoint}"));
if(strcmp(lr_eval_string("{TextCheckPoint}"),"Debt")==0)
{
lr_log_message("********TextCheckPoint ok**********");
}
else
{
lr_end_transaction("trade",LR_FAIL);
lr_log_message("********TextCheckPoint fail**********");
vuser_init();
}
lr_end_transaction("trade",LR_AUTO);
}
错误日志:
Action.c(6): Error -27216: Invalid argument (number 1) [MsgId: MERR-27216]
Action.c(6): Registering web_reg_find highest severity level was "ERROR" [MsgId: MMSG-26389] |
|