51Testing软件测试论坛

标题: 求大神解答,关于VuGen名称和脚本中的函数名称不对应的问题 [打印本页]

作者: 15920155301    时间: 2014-3-28 19:59
标题: 求大神解答,关于VuGen名称和脚本中的函数名称不对应的问题
今天运行脚本时出现下面这个错:
register_Action.c(397): Error: C interpreter run time error: register_Action.c (397):  Error -- memory violation : Exception ACCESS_VIOLATION received.
网上查到的原因是VuGen名称和脚本中的函数名称不对应,这个要怎么弄啊,求解答,谢谢啦
部分源码:
web_reg_find("Text=zozo4563","SaveCount=num","Search=All",
                                 LAST);
               
               
               
        web_url("index.php_12",
                "URL=http://www.fzh.com/index.php?app=consumer",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://www.fzh.com/index.php?app=consumer&act=register_complete",
                "Snapshot=t246.inf",
                "Mode=HTTP",
                LAST);

        lr_end_transaction("confirm_page", LR_AUTO);
    if(strcmp(lr_eval_string("{num}"),0)==0)
           lr_log_message("注册失败!");
        else
                lr_log_message("注册成功!");
作者: msnshow    时间: 2014-4-12 16:34
手工改为一样的不就OK了么




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2