【QTP Error】 The Browser Application can't be launched

上一篇 / 下一篇  2012-04-05 15:42:19 / 个人分类:QTP

问题:

QTP录制脚本时Error:TheBrowserApplication can't be launched. Possibly the URL is wrong.

环境:QTP10+IE8.0+win7(windows xp 也适用)

解决方法:

1、只加载Web插件(不加载ActiveX插件);

2

a)修改bin目录下的mic.ini文件

(如我的是:D:\Program Files\HP\QuickTest Professional\bin\mic.ini

[acx_hook]:修改IEXPLORE.EXE= noIE4.EXE = no

[BBT]:修改acx_hook =0

b)run-> Regedit,进入注册表编辑器;

HKEY_CURRENT_USER->Software->Mercury Interactive->QuickTest Professional->MicTest->ActiveX Add-in里,右键新建一个DWORD值对象,命名为UseBBHook,并双击将其数值数据置为1.

【QTP<wbr><wbr>Error】<wbr><wbr>The<wbr><wbr>Browser<wbr><wbr>Application<wbr><wbr>can't<wbr><wbr>be<wbr><wbr>launched

(我用的是第二种方法,因为第一种方法不能识别ActiveX对象。)

解决方法来源(没记下具体地址)

一.

QTP- IE cannot be launched when loading ActiveX

QTP10+IE7+XP

when start record, Encounter error: Browser application can't be launched. while it can work if not loadingActiveX add-in.

Solution:

1Goto program files-->qtp-->bin-->mic.ini

In [acx_hook] Section: change IEXPLORE.EXE as no and IE4.EXE as no

In [BBT]: Change acx_hook as 0

2goto Regedit

HKCU-->software—> mercury interactive—>qtp-->mictest-->activex add in

Create a dword value as UseBBHook and assign the value as 1

二.

The browser Application can't be launched. Possibly the URL is wrong.

The easiest way to record Web Applications using QTP 11 on Windows Vista is by following the steps below.

Ensure: IE - Internet Options > security settings - Enable Security checkbox is TICKED.

Ensure: Particular URL is allowed on Privacy Tab - Sites - under IE > Internet Options.

Ensure: If Using VISTA, Launch QTP latest Vxx: Run as Administrator prior to launch of IE .

Ensure: If Using VISTA, Launch IE latest Vxx: Run as Administrator after to launch of QTP Latest version.

Ensure: Web Add-in is only ticked if recording Web Applications.


TAG:

 

评分:0

我来说两句

Open Toolbar