UFT Runtime Engine

Relevant for: GUI tests and components, API testing, and business process tests and flows

Overview

UFT One Runtime Engine enables you to run UFT One tests (both GUI and API) and business process tests on your computer without installing the entire UFT One IDE. In addition, you can install the Runtime Engine without the Run Results Viewer, UFT One Add-in for ALM, sample applications, or Help documentation. This can potentially save you valuable disk space on your computer.

When you run the test with the Runtime Engine, you can access and run the test from a number of different places without the need to open the UFT One interface and configure UFT One options. When the test runs it runs in the background. At the end of the test run, you can view the test results.

Using the Runtime Engine requires very little experience in using UFT One. You do not need to edit tests, change settings, or understand how to make UFT One work with your application. You simply select the test, run the test, and view the run results.

Back to top

Applicable scenarios

Runtime Engine can be used in a number of different scenarios:

Running tests and components from ALM You can set up test runs from the Test Lab module in ALM, and run these on a computer using the Runtime Engine. This enables you to run the test, without the need to interact with the UFT One interface (such as loading UFT One add-ins in the Add-in Manager dialog box).
Running tests from automation You can run tests using automation using the Runtime Engine. The Runtime Engine installation enables you to save disk space on the computer running these tests, freeing up system resources on that computer for other tasks.
Running tests using the Jenkins plug-in

Runtime Engine can be installed on a build server or computer running builds of your applications. Using the Jenkins plug-in, you run a UFT One test as a post-build action of your application's build process.

Having Runtime Engine installed on this computer to run UFT One tests enables you to free up system resources for the important application build tasks.

Running tests using external UFT One tools

When you install the Runtime Engine, you have external tools which enable you to run UFT One tests locally, including the Test Batch Runner and the Silent Test Runner. These tools enable you to run a test locally against your application as it is developed, and view the results instantly after the test run.

As Runtime Engine does not enable you to edit a test, this version of the UFT One installation can be used by your application's developers and QA on an ongoing basis to provide regular testing of the application throughout the development process.

Back to top

Runtime Engine Settings options

Runtime Engine also supports all the UFT One Add-ins as the full UFT One IDE, so you can run tests using any supported technology using the Runtime Engine. All objects and methods for all UFT One Add-ins are supported for use with the Runtime Engine.

As part of running a test, you can set specific run-time options. These options are set in the Runtime Engine Settings dialog box, available from the Start Menu (Start > All Programs > Micro Focus > Micro Focus UFT One > Tools > Runtime Engine Settings):

Add-ins You can specify add-ins to be loaded.
Run result export options You can specify how and what the Runtime Engine should export from the run results after a run session.
Autosave options UFT One versions 2021 R1 and later: You can specify whether to automatically save the copies of open GUI tests every a few minutes and the auto-save interval.
Remote connection options
  • You can specify if other applications are permitted to run tests on this computer using the Runtime Engine.

  • You can specify whether to run tests continuously on a remote computer even after the remote session is disconnected.

    • UFT One versions 2021 R1 and later:

      Specify the resolution to use on the remote computer after an RDP session is disconnected from the remote computer.

    • UFT One versions 2022 and later:

      Use the Poll to Detect Disconnect option and set the polling frequency when your tests fail to run on a remote disconnected machine.

      This option enables UFT One to regularly detect a disconnected session instead of waiting for a disconnect event notification. The polling frequency ranges from 10 to 60 seconds.

Note: To modify these options, you must have a UFT One license installed.

Run options

You can specify how the Runtime Engine runs tests, including the format of the run results, whether the run results are opened automatically after a test run, and if the Runtime Engine takes screen captures or movies of the run session.

Text Recognition options

You can specify how the Runtime Engine works with text in your application when running a GUI test.

When setting the Text Recognition > ABBYY OCR Language option, you must use values from the following list: 

UFT One versions 2021 R1 and later: The ABBYY OCR Language option is available only if you include the ABBYY OCR Engine feature in the UFT One installation.

Web and Windows Application options You can specify how the Runtime Engine runs tests for specific scenarios against a Web application or Windows application.

Back to top

See also: