Performing a clean uninstall/reinstall of QuickTest Professional From here on, QuickTest will be used to represent QuickTest Professional.
Note: Previous versions of QuickTest should be uninstalled before (re)installing QuickTest.
Here are the steps for a clean uninstall/reinstall of QuickTest :
1. Backup the lservrc file. This file contains licensing information. If you do not save it, you will need to reenter the license code.
For additional information on the lservrc file, including its location, refer to Document ID KM175077 - What is the lservrc file
Note:- If you are using a concurrent license, it should be located on the license server machine. However, if you find the file on your client machine, it is recommended that you back it up.
2. Backup your test scripts.
3. For QuickTest 8.2 or higher, uninstall any non-core add-ins (Control Panel -> Add Remove Programs).
Note:
Add-in versions 6.5 and below did not have a separate uninstall process.
4. Uninstall QuickTest (Control Panel -> Add Remove Programs).
5. Go to the install directory of QuickTest. The default directory is "C:/Program Files/Mercury Interactive/QuickTest Professional/" or "C:/Program Files/HP/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:
For QuickTest Professional 6.0 and above:
HKEY_CURRENT_USER/Software/Mercury Interactive/QuickTest Professional
For QuickTest Professional 6.0:
HKEY_CURRENT_USER/Software/Mercury Interactive/QuickTest Professional
9. Delete the "QuickTest Professional" or "QuickTest Professional" folder (including all the keys and values under it.) 10. Navigate to the following registry key:
For QuickTest Professional 6.0 and above:
HKEY_LOCAL_MACHINE/SOFTWARE/Mercury Interactive/QuickTest Professional
For QuickTest Professional 6.0:
HKEY_LOCAL_MACHINE/Software/Mercury Interactive/QuickTest Professional
11. Delete the "QuickTest Professional" folder (including all the keys and values under it.) 12. The HKEY_LOCAL_MACHINE/SOFTWARE/Mercury Interactive/QuickTestPro key contains license information. If you want to delete this key as well, Mercury Support recommends backing up the key first (right-click on the "QuickTestPro" key and select Export).
13. Download the MSI uninstaller from the Microsoft: http://support.microsoft.com/kb/290301
14. Run the utility to remove any QuickTest entries that are listed.
15. Delete or Rename the BHOManager.dll in C:/Windows/system32/ folder 16. Delete the following assemblies from the C:/Windows/assembly/ directory:
- Mercury.QTP.Agent
- Mercury.QTP.CustomServer
- Mercury.QTP.WpfAgeny
- policy.6.5.Mercury.QTP.CustomServer
- policy.8.0.Mercury.QTP.Agent
- policy.8.0.MngUtils
17. If the Firefox browser is installed go to Tools->Add-ons and manually remove the QuickTest Professional PlugIn 18. Reboot the machine.
19. Install or reinstall QuickTest Professional.
20. Copy the lservrc file from step 1 into the correct directory. As long as the locking code (which is machine specific) did not change, you should be able to use QuickTest Professionalional without having to re-enter the license code.
Wednesday, October 21, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment