What's New in UFT Developer 2021 R1
This topic describes the new features and enhancements available in UFT Developer 2021 R1.
AI-based testing in UFT Developer (tech preview)
UFT Developer 2021 R1 offers the following updates to AI-based testing:
- You can now open the AI Mockup Inspection window directly from your IDE. Click the AI Mockup Inspection toolbar button or select the option in the UFT Developer menu.
You can now retrieve the value of an AI object, using the new GetValue method. The value is based on the following object properties: text for text objects, state for toggleable controls, and value for input fields, text boxes, and combo boxes.
When generating code to use for your tests, UFT Developer now uses the AiTypes list of supported AI classes in AiObject descriptions.
For example, com.hp.lft.sdk.ai.AiTypes.BUTTON is used, rather than hard coding the class name "button".
In the run result report, AI-based steps now include a description of the step in plain English.
License consumption updates
In UFT Developer 2021 R1, you can more easily edit tests without consuming a license, and you can configure the length of the license server timeout.
Reduce runtime engine use
The UFT Developer runtime engine, which consumes a UFT Developer license, no longer runs as soon as you open your IDE.
Instead, the runtime engine starts only when you select one of the UFT Developer editing tools, such as the OIC, Test Recorder, AI Inspection, or Selenium OIC. These tools are all available in your IDE UFT Developer menu, even if the runtime engine is not running yet.
In addition, using the UFT Developer menu you can manually enable or disable the runtime engine. If you do want the runtime engine to run as soon as you open your IDE, select the Enable UFT Developer when <IDE> opens option in the menu.
Note: To connect to UFT Mobile, you must first enable the runtime engine.
Configure license server timeout
You can now configure the length of time that UFT Developer waits for a response from the license server.
If you experience license availability errors because your license server is slow to respond, you can extend the default 120 second timeout. For details, see Customize the license server timeout.
Support IE mode on Edge Chromium
You can now test web applications running in IE mode on Edge Chromium.
In your test, after opening the application, you must add a sync step.
Include the following steps:
Launch the browser using the Edge Chromium type.
Navigate to the application's URL.
Sync the browser.
The getStatus return type is now a promise that is fulfilled with a string representing the runtime status of the UFT Developer report.
Web testing acceleration
In UFT Developer 2021 R1, a new mechanism is used on Windows machines to perform web test operations on Chrome, Chromium Edge, and Firefox. This improves the performance of the test run and is particularly noticeable when you include screen captures in run results.
UFT Developer 2021 R1 includes the following updates:
A smaller and faster Windows installation version of UFT Developer is now available.
When installing UFT Developer, you can choose not to include the ABBYY OCR engine if your tests do not use text recognition.
If you want to install the ABBYY OCR engine at a later time, simply run the installation program again using the Change option, and select the ABBYY OCR engine feature.
You can also download an installation package that does not include the ABBYY OCR engine files at all. To do this, select the Core UFT One DVD package on the free trial or Software Licenses and Downloads page.
To later add the ABBYY OCR engine to your UFT Developer installation, download the separate OCR Expansion Pack from the same location and run the installation program's Change option, selecting the feature.
For details, see Install UFT Developer for Windows.
Read and write permissions are now required for registry keys under the following keys:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Mercury Interactive (64-bit computers)
HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive (32-bit computers)
See Required permissions.
Various security updates, including upgrading log4j to version 2.17.1.
Docker images rebranded
The UFT Developer 2021 R1 docker images available on the Docker hub are named functionaltesting/uftdeveloper*.
When you download the new docker images, make sure to use the new names in your docker commands.
Docker images with UFT Developer versions 2021 and earlier are still available under the names functionaltesting/leanft*.
UFT Developer for Selenium SDK updates
New versions of the UFT Developer for Selenium SDKs are now publicly available. These new versions support working with Selenium 4.
If you are working with the Java SDK, make sure to update the Selenium and SDK version numbers in your pom.xml file. For details, see Create a Java 'UFT Developer for Selenium' project.
Extended technology support
UFT Developer continues to extend its technology, framework, and browser support.
This version includes the following additional support:
|License server versions|
|AutoPass||12.0.1, 12.1.3, 12.3.0|
|Eclipse SWT||4.19, 4.20, 4.21|
Follow the configuration requirements in Test Java applications, version 16 or later.
|Operating system versions|
For more details, see the Support Matrix.