Set a Custom Directory for QTP Tests

Article Tools

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.

Previous postA Pitfall for Beginners when Working with a Dictionary Next postExpanding .Net DevExpress Trees

Related Posts

Post Your Comment

You must be logged in to post a comment.