Absent Member.. _Evelina_ Absent Member..
Absent Member..

QTP/UFT Support Tip: How to improve QuickTest Professional/Unified Functional Testing performance

Dear all,


Do you know how to improve teh QTP/UFT performance, below are few suggestions.



Below are some suggestions to improve QTP/UFT performance:

Do not load unnecessary add-ins in the Add-in Manager when QTP/UFT starts. This will improve both recording time and test run performance.

Run your tests in "Fast mode." From Tools > Options > Run tab dialog box (in UFT: Tools > Options > GUI Testing > Test Runs), select the "Fast mode" option. This instructs QTP/UFT to run your test without displaying the execution arrow for each step, enabling the test to run faster.

Decide when you want to capture and save images of the application during the test run to display them in the test results. You can improve test run time and reduce disk space by saving screen captures only. For information on specifying when to capture images, refer to Document ID KM205544 - How to determine which snapshots are saved during replay.

If Active Screen and also The Screenshots of the Errors and Warning are not completely necessary for your test proposes, you can set the following feature as is showed on the screenshots.

Active Screen: Tools > Options > Active Screen > set the capture level to "NONE" (in UFT: Tools > Options > GUI Testing > Active Screen)

Disable Screen captures: Tools > Options > Run > Screen Capture (in UFT: Tools > Options > GUI Testing > Screen Capture)

Decrease related timeout settings (these depend of the applications under testing). Such would be time variables that QTP/UFT will wait to recognize an object in the application if is not possible to recognize it the first time.:

(Any Add-in) File > Settings... > Run > Object Synchronization Time Out

(Web Add-in only) File > Settings... > Web > Browser Navigation Time Out

Disable Smart Identification: File > Settings... > Run Option

If the scripts are located in a Network Share Drive, please move them to the local file system.

If using a concurrent license server, create the variable LSFORCEHOST (if not already there) to force QTP/UFT to search the license in specific machine and omit the broadcasting performed when you open QTP/UFT every time.

(Web Add-in) Setup under HKEY_Current_User\Software\Mercury Interactive\QuickTest Professional\MicTest\Packages\WebPackage\Settings following entries:


IgnoreHiddenFrames = 1

InteractiveSync = 1

OptimizeElementConnection = 1

QTP, under Tools > Options > Windows Applications > Advanced > "Always Enumerate child windows" is unchecked.


I hope taht the inofrmation provided is helpful.


Thank you and Regards,


If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution
Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.