LoadRunner 11(Windows 7 x64)問題記錄(待更新……)

1、LoadRunner錄製腳本時爲什麼不打開IE瀏覽器?

問題描述:默認設置,錄製Vuser腳本,沒有打開IE瀏覽器;

問題解決:

(1)進入路徑:C:\Program Files (x86)\Internet Explorer;

(2)雙擊“iexplore.exe”,啓動瀏覽器;

(3)打開Internet選項對話框,切換到高級標籤,去掉“啓用第三方瀏覽器擴展*”的勾選,啓動IE;

(4)再次運行VuGen即可解決問題。

2、LoadRunner錄製腳本時打開的IE瀏覽器?

問題描述:默認設置,錄製Vuser腳本,打開的不是IE瀏覽器;

問題解決:

(1)修改“Program to record”的路徑爲IE瀏覽器的地址:C:\Program Files (x86)\Internet Explorer\iexplore.exe;

(2)繼續運行VuGen即可解決問題。

3、配置好Java1.6環境變量,LoadRunner依然報錯:

問題描述:LoadRunner 11最高支持 java1.6版本,但是安裝了 java1.6(x64)之後,仍然報錯:

Error: Failed to find java.exe.
Please add the <JDK>\bin to the path and try again.        [MsgId: MERR-22968]
Warning: Extension java_int.dll reports error -1 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]

問題解決:LoadRunner 11需要32位的jdk,把jdk換爲32位的就可以了。

4、LoadRunner執行報錯“VUGen has encountered a problem and needs to close.……”

問題描述:錄製完訂票腳本,執行報錯“VUGen has encountered a problem and needs to close.We are sorry for the inconvenience. VUGen will try to recover any unsaved data you were working on……”。

問題解決:

Toos > General Options > Display,去掉“Show run-time viewer during replay。

(嘗試了修改註冊表中“KEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\Vugen\Thumbnails”的參數:0-1,但是壓根沒有找到。)

 

 

 

 

 

 

 

 

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章