QTP/UFT Support Tip: How to improve QuickTest Professional/Unified Functional Testing performance
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,