Login   /   Register

Set a custom directory for QTP tests

Rate this article
     4 votes, average: 4.25 out of 54 votes, average: 4.25 out of 54 votes, average: 4.25 out of 54 votes, average: 4.25 out of 54 votes, average: 4.25 out of 5
Loading ... Loading ...
April 25th, 2008 by Yaron Assa

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

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.

Posted in Articles, General

9 Responses to “Set a custom directory for QTP tests”

  1. medwards Says:

    [+]

    I changed the TestsPath.reg from: REGEDIT4 [HKEY_LOCAL_MACHINE\ProductRegRoot\MicTest] "TestsDirectory"="ActualPath\\Tests"... ...

  2. Yaron Assa Says:

    [-]

    You have to change the value under HKEY_CURRENT_USER, not LOCAL_MACHINE

  3. navdeep_ahir Says:

    [-]

    i need QTP tutorials plz help mail at navdeep_ahir@hotmail.com

  4. Lorry Says:

    [+]

    Hi: This is a cool customizable feature, I know most of the Q Eng (QTP) community must be enjoying tips and snippets offered in... ...

  5. nick Says:

    [-]

    what is the registry editor ? can you please provide step by step instructions on how to create this…

    thank you..

  6. Challa Says:

    [-]

    Cool tip Assa, it is awesome .. Thank you.

  7. kaps_sachdeva Says:

    [-]

    awesome buddy , hassle free tip…

  8. banditgp Says:

    [+]

    Didn't appear to work for me, what am I doing wrong.... regedit, HKEy_CURRENT_USER/Software/Mercury Interactive/Quick Test Profes... ...

  9. Tim Payne Says:

    [+]

    We're running Windows XP Pro 64-bit and the solutions above would not work for us. So, after using a registry monitor program whi... ...

Leave a Reply

You must be logged in to post a comment.

This article was viewed 1349 times