录制脚本时出现IE运行错误,什么原因怎么解决呢

2021-10-21 09:13发布

10条回答
张皓铭
2021-10-21 11:41

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,或许选择第一个选项)

 


一周热门 更多>