AI Pane (Options Dialog Box > GUI Testing Tab)
GUI UFT Mobile and Web tests only
This pane enables you to activate the AI-based testing abilities in UFT One.
To access |
Select Tools > Options > GUI Testing tab > AI node. |
Important information |
The Restore Factory Defaults button resets all Options dialog box options to their defaults. |
Relevant tasks | |
See also | Improve AI-based test object identification |
User interface elements are described below:
UI Element |
Description |
---|---|
AI active |
Select this option to enable UFT One's AI features. Default UFT One 15.0.1 and earlier: Not selected. UFT One 15.0.2 and later: Selected. Changes you make in this option take effect only after you restart UFT One. |
UFT One versions 15.0.2 and later:
UI Element |
Description |
---|---|
Runtime object identification | |
Automatic scrolling |
Select this option to enable automatic scrolling. When running a test, if an object is not displayed in the application but the web page or mobile app is scrollable, UFT One automatically scrolls further in search of the object. UFT One scrolls similarly when running a checkpoint that requires that an object not be displayed in the application. Default: Selected. You can customize the direction and extent of the scrolling:
Tip: To temporarily override these global settings in a test run, add AI run settings steps to your test. For details, see the AIRunSettings Object in the UFT One Object Model Reference for GUI Testing. |
AI Transformation Assistant | |
Replace run results with AI step suggestions |
Select this option to run your tests and receive a report suggesting AI object steps that you could use in your test. Replace existing steps with AI object steps to create a more resilient and platform-agnostic test. When this option is selected, your test run results do not reflect the results of the test. Instead, the report suggests an AI object and operation for any step where a property-based test object can be replaced with an AI object. Default: Not selected. |
OCR settings | |
Select OCR settings |
Specify which text recognition settings to use:
|
OCR languages |
Relevant when the Use Default AI OCR option is selected. Move languages from the Available Languages list to the Selected Languages list, to specify the languages to use for AI-based text recognition. These languages are used when identifying text in the application, when using text to identify a specific object, and when retrieving text from the application. Supported languages: English (default), French, German, Italian, Japanese, Russian, Simplified Chinese, Spanish. Tip: To temporarily override these global settings in a test run, add AI run settings steps to your test. For details, see the AIRunSettings Object in the UFT One Object Model Reference for GUI Testing. |