We are using QTP 9.2 with a seat license.
Tool was working fine unitl I got some checkpoint error during runtime, later system got hung up.
I restarted the system and tried to open the tool, I am seeing the add-in window later the QTP logo and just the main window is opening and shutting off itself. Any idea why this is happening ?
I restarted the system couple of times.
I tried to open QTP script editor which is fine.
May be uninstall QTP and re-install it. When you uninstall follow these steps.
Here are the instructions list that I followed for clean uninstall and then install.
1. Backup the lservrc file which is located in C:\Program Files\Common Files\Mercury Interactive\License Manager\lservrc. This file contains licensing information. If you do not save it, you will need to reenter the license code.
Note:If you are using a floating license, the file may not be in this directory. It should be saved on the license server machine. However, if you find the file, it is recommended that you back it up.
4. Go to http://download.com/ and search for a program called regClean. Download this program for later
Go to http://download.com/ and search for a program called WinOptimizer. Download this program for later use. Note, this application has a free trial use.
You can download or use a registry cleaning application of your choice if you have trouble finding these applications.
5. Go to the install directory of QuickTest. The default directory is "C:\Program Files\Mercury Interactive\QuickTest Professional" (QuickTest Professional).
6. Delete all the directories under this directory except for the "Tests" folder since it might contain test scripts. If you backed up the test scripts to a different directory in step 2, you can delete the Tests folder also.
7. Open the registry editor (Start -> Run -> regedit).
8. Navigate to the following registry key:
HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional
9. Delete the keys and values under the "QuickTest Professional" folder.
10. Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional
11. Delete this key.
12. Now run the registry cleaning program from step 4. This step is to ensure that the registry is cleaned of any registry keys that might have been missed during the uninstall process.
13. Reboot the machine.
14. Install or reinstall QuickTest Professional.
15. Copy the lservrc file from step 1 into the <QuickTest Professional >/bin directory. As long as the locking code (which is machine specific) did not change, you should be able to use QuickTest Professional without having to reenter the license code.
We can do a clean uninstall and install, but the problem is we are having seat licenses so it would generate a locking code which we have to send it HP based on which they will send the license code for new installtion.
Our company didn't renew the Maintenance for all the products due to which I am thinking HP will not support us.
But as you said if we take the back up of lservrc file and renistall will the tool work as expected.
Run the QuickTestProfessional.bat file located at C:\Program Files\Mercury Interactive\QuickTest Professional\bin.
This will re-register the DLL's. I would do this before uninstall and re-install.
You will need to reboot QTP after the file finishes executing.