1、錄製指令碼時打不開IE
原因有兩個,一是可能安裝了多個瀏覽器,解決方案開啟IE選項---進階--去掉“啟用第三方瀏覽器延伸(需要重啟動)”的勾選
第二需要重新運行“register_vugen.bat”(位置\Program Files\Mercury\LoadRunner\bin)
2、錄製指令碼時出現IE運行錯誤
原因:一般是作業系統的環境不適合或者瀏覽器的版本有出入。
1.LoadRunner能支援Standalone的IE7指令碼錄製,在XPSP2+IE7上驗證通過;
2.LoadRunner不相容Windows Vista,vugen.exe(Mercury Virtual User Generator)啟動失敗,錯誤提示"Action",跟UAC安全特性無關,初步分析跟目前使用者的Temp路徑改變有關;
3.Windows 2003 SP2上無法錄製IE6/7,導致IE Crash,iedw.exe(IE Crash Detection)報告錯誤事件,錯誤碼0xc0000005,ie在地址00CD4548 push 1Ah段中斷。初步分析原因是Windows Server預設對IE載入DEP(資料執行防止)特性,而Vugen.exe剛好又跟DEP衝突。
解決方案(WIN2003環境):不想換系統那就按下面操作:Control Panel->System -> "Advanced" tab->Performance section "Settings" button ->"Data Execution Prevention" tab->add the client program(vugen.exe) in "Turn on DEP for all programs and services except those I select" or choose "Turn on DEP for essential windows programs and services only." and a reboot is required. (控制台--系統--進階--效能--資料執行防止--添加例外程式vugen.exe,或許選擇第一個選項)