51Testing软件测试论坛

标题: LR脚本无法运行 [打印本页]

作者: 06ykm    时间: 2011-6-28 10:00
标题: LR脚本无法运行
vuser_init()
{
   return 0;
}

Action()
{     
      

        lr_start_transaction("open_player(1)");

     lreal_open_player(1);   //新建realplayer实例

        lr_end_transaction("open_player(1)", LR_AUTO);
   
     lreal_open_url(1,"rtsp://192.168.1.50/movie/pianist1.rmvb";);  //打开url
     lr_think_time(8);
     lreal_play(1,110);       //播放realplayer一个片段

        lr_start_transaction("stop_real(1)");
     lreal_stop(1);
        lr_end_transaction("stop_real(1)", LR_AUTO);
     
     lreal_close_player(1);
    return 0;
}


vuser_end()
{
    return 0;
}

刚刚学LR,编写的写个脚本为啥无法运行,请各位指教一下。无限感激
以下是出错信息
Error:Failed to load the pnen3260.dll library.        [MsgId: MERR-62852]
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.        [MsgId: MERR-10176]
Warning: Extension lreal32.dll reports error -2147467259 on call to function ExtPerProcessInitialize        [MsgId: MWAR-10485]
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.        [MsgId: MERR-10176]
作者: girlkangting    时间: 2013-4-25 16:54
我也遇见了,不知道楼主解决没有,怎么解决的啊!
作者: jadeyu712    时间: 2016-4-22 14:50
注册DLL




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