27 January 2010

Before i started writing my own blog, i spent hours over the internet googling about QTP 9.5's compatibility with Internet Explorer 8. All i got was that QTP 9.5 is not compatible with IE8 which ofcourse is a myth. People wrote about error in identifying objects in IE8 when using QTP 9.5. I have a solution for the compatibility issue.
All you need to do is to apply a patch.

1. I assume you have QTP 9.5 installed in the default directories.
2. Extract all the files in the patch in C:\qtp95ie8patch3. Run Install_QTP9.5Patches.batfrom the directory.
4. Run QTP 9.5 and try identifying the objects in IE 8

You might want to disable the protected mode for this to work and in the worst case, just reinstall the IE 7 or migrate to IE 8. But this works for sure as i have tried this on XP, Vista and on multiple machines with different configurations . You must be missing a minor stuff somewhere.

I tried this on Win 7 having IE8 but no luck..... I've executed all commands from bat file in command prompt and could see that files got renamed and dlls copied into respective folder. Is this really works for Win7/IE8 or something is missing in batch file

Yes even i faced this issue on Vista....I finally had to reinstall QTP and try. Then it did work. I don't know if it lot to ask, just try reinstalling QTP. But first reinstall IE 8 and then install QTP 8. SOmetimes, even reinstalling IE8 works. There is no specific rule. But i am damn sure this works as it is working for me right now.

Hi, I followed the instructions on your blog but when I opened qtp after installing the patch all of my browser repository objects were coming up as web elements and so prevented my test from running. I uninstalled the patch and the test is back to not working because of Ie8, but is there something else I can try?