QTP Performance Temp Folders

Applies to:

QTP 10+


For QTP performance reasons, it’s been suggested to us that we delete out some temp folders (previously such mentioning as 'TD_80' folders). We have a VB.net utility tha we've developed to delete out some files such as

1) C:\Documents and Settings\%username%\Local Settings\Temp\{...}\ and

2) Subfolders from: C:\Documents and Settings\%username%\Local Settings\Temp\TD_80\

It appears there are some other files which we might want to delete...

1) C:\Documents and Settings\%username%\\Local Settings\Temp\tsr%.tmp

2) C:\Documents and Settings\%username%\\Local Settings\Temp\folder names with 1-2 characters in length - including component information. 

We also see Mercury Interactive and Quicktest folders.  I don't know if it’s safe to delete those files/folders. 


1) You can delete everything located in %Temp% folder include TD_80. 

2) You can disable the Active Screen this will reduce the files of the tests since no screenshots will be saved (only if you don’t need them).

3) According to your question “We also see Mercury Interactive and Quicktest folders.  I don't know if it’s safe to delete those files/folders.”  You can delete those folders no problem, only one point is important to know here, under this path are stored temporary the test results when a script under development has not been save for the first time.

4) In order to increase the performance of QTP you can try these:

-Do not load unnecessary add-ins in the Add-in Manager when QuickTest Professional starts

-Run your tests in "Fast mode": from the Run tab in the Tools -> Options dialog box, select the Hide execution arrow (Fast mode) option. This instructs Quick Test Professional to run your test without displaying the execution arrow for each step, enabling the test to run faster.


Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk