日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

使用loadrunner的vb vuser写脚本 运行报错:vbascriptext.dll -25277 -25240

發(fā)布時間:2025/3/15 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 使用loadrunner的vb vuser写脚本 运行报错:vbascriptext.dll -25277 -25240 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

一、新建一個vb vuser,不寫任何代碼,也會報錯,錯誤信息如下:
Warning: Invalid parameter detected in function.
Warning: Invalid parameter detected in function.
Warning: Extension vbascriptext.dll reports error -25277 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension vbascriptext.dll.

二、查找?guī)椭臋n:

Replay Error with VB Vuser Scripts

If you are getting error number -25210 when trying to replay a VB Vuser

script, you may have a problem with some of your DLL files.

Solution:

1 Open the c:"Program Files"Common Files"Microsoft Shared"vba"vba6

directory.

2 Locate the VBE6.dll and VBE6EXT.OLB files.

3 Right click the files and click properties to see the version of each file.

4 If either the VBE6.dll or the VBE6EXT.OLB file versions are between

6.04.9972 and 6.05.1024, they both must be replaced. If neither file

version is in this range, contact HP software support.

5 Replace the VBE6.dll file with version 6.04.9972 or 6.05.1024.

6 Replace the VBE6EXT.OLB file with version 6.04.9969 or 6.05.1024.

三、看了二個文件版都不對,我的是6.05.1020,花了一定的時間總算找到6.06.1024安裝程序。搜索關鍵字vba6.5,在CSDN上有下載。版本總算可以符合了,心想應該不會有錯了。

回報空腳本,還是報錯,錯誤信息如下:

Unable to format message id [-25001]
Unable to format message id [-25001]
Unable to format message id [-25001]
Unable to format message id [-25001]
Unable to format message id [-25001]
Warning: Extension vbascriptext.dll reports error -25240 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension vbascriptext.dll.

四、因為我裝的loadrunner9.5版本,估計loadrunner文檔還沒有更新,loadrunner9.5相對應的VBE6.dllVBE6EXT.OLB版本估計不是這個,不妨把那二個文件刪除了,再裝tools下的VBA 安裝程序,VBE6.dllVBE6EXT.OLB版本分別是6.00.8714,6.00.8667.再回放腳本成功.

Virtual User Script started

Starting action vuser_init.

Ending action vuser_init.

Running Vuser...

Starting iteration 1.

Starting action Action.

Ending action Action.

Ending iteration 1.

Ending Vuser...

Starting action vuser_end.

Ending action vuser_end.

Vuser Terminated.

五、當我打開office 2007準備記錄整個過程時,office2007需要修復.

六、我再運行loadrunner回放腳本,結果報錯.我馬上去看二個文件的版本,都是6.05.1020. 我再次把這二個文件刪除(關閉word),再安裝VBA,回放腳本依然成功.

轉(zhuǎn)載于:https://www.cnblogs.com/quange/archive/2009/10/17/1584943.html

總結

以上是生活随笔為你收集整理的使用loadrunner的vb vuser写脚本 运行报错:vbascriptext.dll -25277 -25240的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。