Set a Custom Directory for QTP Tests
Posted by admin - Apr 25, 2008 Articles, QTips, QTP, Yaron Assa 0 0 Views : 482 Receive Updates For This Category
Article Tools
- Print this page
- Add Comment
- Send to Friend
- Last Updated on :
Jul 16, 2011
Do you use a different directory than C:\Program Files\HP\Quicktest Professional\Tests to store your tests? If you, you must be sick and tired of manually correcting the save / open path each and every time you start QTP.
This QTip will show you how to change QTP’s default test directory, thus freeing you from endlessly browsing for the relevant directory whenever you save / open a test.
Open the registry editor, and locate the key:
HKCU\Software\Mercury Interactive\Quicktest Professional\MicTest
Or, if you’re working on Windows 64Bit (Credit goes to Tim Payne)
HKLM\Software\Wow6432Node\Mercury Interactive\QuickTest Professional\MicTest
There, locate the string value TestsDirectory – it should be set to “C:\Program Files\HP\QuickTest Professional\Tests”. Doubleclick it to open it, and change to value to the desired directory. Save, close the registry editor, and restart QTP.
Now, whenever you save a test, or initiate the open file dialog, it would start at your desired directory, and not QTP’s default one.
Enjoy.


