How to perform a clean uninstall/reinstall of QuickTest Professional

Document Id:

KM171368

Published Category:

Products > quicktest professional

Summary:

Creation Date:

Mon Feb 11 2002 16:31:13 GMT+0000 (UTC)

Expiration Date:

Author:

Usage Count

203

Status

external

Topic

Response

Performing a clean uninstall/reinstall of QuickTest Professional

From here on, QuickTest will be used to represent either QuickTest Professional or 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 18444 - 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" (QuickTest Professional) or "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:

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" or "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/default.aspx?scid=kb;en-us;290301


14. Run the utility to remove any QuickTest entries that are listed.


15. Reboot the machine.


16. Install or reinstall QuickTest Professional/QuickTest Professional.


17. 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 Professional/QuickTest Professional without having to reenter the license code.