【QTP Error】The Browser Application can't be launched . Possibly the URL is wrong.

QTP录制脚本时报错,如下图所示:
环境:win7+QTP10

【QTP Error】The Browser Application can't be launched . Possibly the URL is wrong._第1张图片

解决办法:

①找到你QTP的安装地址,修改bin目录下的mic.ini文件

  (如博主的安装路径是:D:\QTP\anzhuangQTP\bin\mic.ini)

【QTP Error】The Browser Application can't be launched . Possibly the URL is wrong._第2张图片

②打开mic.ini文件,

   在[BBT]中: 修改acx_hook =0 

   在[acx_hook]中:修改 IEXPLORE.EXE= no , IE4.EXE = no

   修改前:

【QTP Error】The Browser Application can't be launched . Possibly the URL is wrong._第3张图片

③打开Regedit,进入注册表编辑器

【QTP Error】The Browser Application can't be launched . Possibly the URL is wrong._第4张图片

④在HKEY_CURRENT_USER-->Software-->Mercury Interactive-->QuickTest Professional-->MicTest-->ActiveX Add-in里,

   右键新建一个DWORD值对象.

【QTP Error】The Browser Application can't be launched . Possibly the URL is wrong._第5张图片

⑤命名为UseBBHook,并双击将其数值数据设置为1.

【QTP Error】The Browser Application can't be launched . Possibly the URL is wrong._第6张图片

⑥重启电脑

⑦再次打开QTP,录制脚本就不会报错啦

 

 

 

你可能感兴趣的:(测试错误集锦,软件测试)