Thursday 8 May 2014

QTP unable to find object in IE due to BHOManager CLASS add-on missing


This "BHOManager CLASS" add-on is a supporting add-on to run QTP script on the IE browser.

The publisher of this add-on is Mercury Interactive Corp.

I have uninstalled the existing IE browser because of some issues in my machine and reinstalled it. And after this i cannot run the QTP script as the "BHOmanager Class" add-on is missing.



http://stackoverflow.com/questions/13586606/how-to-install-the-bhomanager-class-add-on-in-ie


http://h30499.www3.hp.com/t5/Unified-Functional-Testing/HP-QTP-11-cant-recognise-IE8-browser-events-refresh-and-navigate/td-p/5317811#.U1YUTfmSyQ5




regsvr32 -u "C:\Windows\SysWOW64\BHOManager.dll
regsvr32 "C:\Windows\SysWOW64\BHOManager.dll




QTP is not recognise the object in Windows7 and IE8(64 bit)

1) Check the  BHOManager Add on in IE 8

Go to IE > Tools > Manage Add-ons, make sure BHOManager class
(Browser Helper Object) from Mercury Interative Corporation is
enabled.

Enabled BHOManager add on alone. And diabled rest of the Add on.

2) Please check if the iexplorer.exe of the AUT (Application Under Test) is 32 or 64 bit based, for it you can open the task manager, select the application nameà right click à go to process à and if the is an *32 next to the iexplorer.exe then the application is 32 bit based, otherwise is 64 bit.

Depending of it please use the following command thru the CMD to re-register the BHOmanager.dll, please close all browsers:

For the 32 bit:
                              regsvr32 -u "C:\Windows\System32\BHOManager.dll"
                              regsvr32 "C:\Windows\System32\BHOManager.dll"
For the 64 bit:


                              regsvr32 -u "C:\Windows\SysWOW64\BHOManager.dll"
                              regsvr32 "C:\Windows\SysWOW64\BHOManager.dll"



3) Check IE8 version is 32 bit or 64 bit, by using below method,

Method 1:

From Help-> About INternet Explorer ->  first line gives the version number. If it is 64 bit, it will say so. If 32 bit, it shows the version number only.Its doesnot show like 32 bit.


If your win7 is not have 64 bit IE8 means, you are using IE 32 bit versions alone.


If you are using a 64 bit Win7, both are listed in
Start -> All Programs.
Internet Explorer (64-bit)
Internet Explorer


Method 2:

We can check the IE location from Right click of the Properties from IE icon.


The 32 bit IE is located here:

C:\Program Files (x86)\Internet Explorer\iexplore.exe

The 64 bit IE is located here:

C:\Program Files\Internet Explorer\iexplore.exe


From above step, we get confirm IE is 32 bit or 64 bit edition.Then find the location for HP instalation path to know about which IE have the BHOmanager Add on

-> If QTP innstalled in below path

C:\Program Files (x86)\HP\QuickTest Professional

we come to conclusion IE with 32 bit have the BHOmanager Add on.


-> If QTP innstalled in below path

C:\Program Files\HP\QuickTest Professional

we come to conclusion IE with 64 bit have the BHOmanager Add on.

1 comment:

  1. Your blog has been a source of encouragement and empowerment on my journey – I'm thankful for the support! Rooftop Snipers offers endless excitement and unpredictable battles – it's sniping at its finest!

    ReplyDelete