General Pane (Options Dialog Box > GUI Testing Tab)

Relevant for: GUI tests and components

This pane contains general options for working with GUI tests and components.

To access

Select Tools > Options > GUI Testing tab > General node.

Important information

The Restore Factory Defaults button resets all Options dialog box options to their defaults.

User interface elements are described below:

UI Element


Disable recognition of virtual objects while recording
(GUI tests only)

Determines whether the defined virtual objects stored in the Virtual Object Manager are recognized while recording. For details, see Virtual Objects.

Automatically update test and component steps when you rename test objects

Determines whether to automatically update test and component steps when you rename test objects in the local or shared object repository. For details, see Maintaining description properties.

Note: Applicable only if there are no syntax errors in the test or component when you rename the test object.

Automatically parameterize steps using
(tests only)

Instructs UFT to automatically parameterize the test object method arguments in any action in which you recorded one or more steps during a recording session.

You can select to parameterize the steps with Global Data Table Parameters or Test Parameters.

For details, see Automatically parameterizing steps.

Automatically generate "With" statements after recording
(tests only)

Instructs UFT to automatically generate With statements when you record. For details, see Generate With statements.

Generate "With" statements for __ or more objects
(tests only)

Indicates the minimum number of identical, consecutive objects for which you want to apply the With statement. This setting is used when UFT automatically generates With statements after recording and when you select to generate With statements for an existing action.

Default = 2

For details, see Generate With statements.

When pointing at a window, activate it after __ tenths of a second

Specifies the time (in tenths of a second) that UFT waits before it sets the focus on an application window when using the pointing hand to point to an object in the application (for example, when using the Object Spy, checkpoints, Step Generator, Recovery Scenario Wizard, and so forth).

Default = 5

Generate Script

Generates a UFT script containing most of the current global testing options.

When you click the Generate Script button, a Save As dialog box opens, enabling you to specify the name and file system location to store the generated file.

You can use some or all of the script lines from this generated script in a test. This can be useful, for example, if you want to create an initialization script that opens UFT with a pre-defined set of options applied.

View a sample generated script

For details, see UFT Automation Scripts and the UFT Object Model Reference for GUI Testing (Help > HPE Unified Functional Testing Help > Object Model Reference for GUITesting).