Windows Applications > Advanced Pane (Options Dialog Box > GUI Testing Tab)

This pane enables you to modify how UFT records and runs tests or business components on Windows-based applications.

To access

Select Tools > Options > GUI Testing tab > Windows Applications > Advanced node.

Important Information

For advanced Windows-based application testing information, intended for users with expertise in the Win32 API and the Windows messages model, see Advanced Windows-based application testing.

See also Windows Applications > General Pane (Options Dialog Box > GUI Testing Tab)

User interface elements are described below:

UI Elements

Description

Object Identification node
Always enumerate child windows (may affect performance)

Instructs UFT to enumerate all child windows when recording a running a test or business component.

This option is cleared by default and should be used only when an object cannot otherwise be identified, because it may significantly affect performance.

Use UI Automation by Default

Instructs UFT to use UI Automation mode for object identification (instead of standard object identification).

This mode applies to spying and learning objects, as well as adding checkpoints and output values.

If this option is cleared, the default technology is used to identify or capture the object, such as Standard Windows.

Record Settings node
Button

Defines record settings for button objects:

  • Record only the object's basic operation. Enables simplified recording on the button. Using this mode may improve recognition of user operations in non-standard cases.

    This option is cleared by default and should be used only when the default recording method does not meet your needs. For details, see Advanced Windows-based application testing.

  • Record Click. Specifies whether the Click operation should be recorded when the mouse button is pressed (On mouse button down) or when the mouse button is released (On mouse button up).

    This option is enabled only when Record only the object's basic operation is selected.

    Default = On mouse button up.

List

Defines record settings for Windows-based list objects (for example, WinList, WinListView, and VbList):

  • Record only the object's basic operation. Enables simplified recording on the list. Using this mode may improve recognition of user operations in non-standard cases.

    This option is cleared by default and should be used only when the default recording method does not meet your needs. For details, see Advanced Windows-based application testing.

  • Record Select. Specifies whether the Select operation should be recorded when the mouse button is pressed (On mouse button down) or when the mouse button is released (On mouse button up).

    Default = On mouse button up.

Menu

Defines record settings for menu objects:

  • Enable recording. Specifies whether UFT records operations on menu controls. For example, you may want UFT to ignore the actual process of selecting a menu to open another window.

    This option is selected by default.

  • Menu recording mode. Specifies whether UFT verifies or ignores menu initialization events before recording operations on menu controls.

    This option is enabled only when Enable recording is selected. For details, see Advanced Windows-based application testing.

    Default = Verify menu initialization event.

Object

Defines record settings for objects recognized as WinObject test objects:

  • Record only the object's basic operation. Enables simplified recording on the WinObject test object. Using this mode may improve recognition of user operations in non-standard cases.

    This option is cleared by default and should be used only when the default recording method does not meet your needs. For details, see Advanced Windows-based application testing.

  • Record Click. Specifies whether the Click operation should be recorded when the mouse button is pressed (On mouse button down) or when the mouse button is released (On mouse button up).

    This option is enabled only when Record only the object's basic operation is selected.

    Default = On mouse button down.

Tab

Defines record settings for tab objects:

  • Record only the object's basic operation. Enables simplified recording on the tab. Using this mode may improve recognition of user operations in non-standard cases.

    This option is cleared by default and should be used only when the default recording method does not meet your needs. For details, see Advanced Windows-based application testing.

  • Record Select. Specifies whether the Select operation should be recorded when the mouse button is pressed (On mouse button down) or when the mouse button is released (On mouse button up).

    This option is enabled only when Record only the object's basic operation is selected.

    Default = On mouse button up.

Toolbar

Defines record settings for toolbar objects:

  • Record only the object's basic operation. Enables simplified recording on the toolbar. Using this mode may improve recognition of user operations in non-standard cases.

    This option is cleared by default and should be used only when the default recording method does not meet your needs. For details, see Advanced Windows-based application testing.

  • Record Press. Specifies whether the Press operation should be recorded when the mouse button is pressed (On mouse button down) or when the mouse button is released (On mouse button up).

    This option is enabled only when Record only the object's basic operation is selected.

    Default = On mouse button up.

Tree view

Defines record settings for tree view objects:

  • Record only the object's basic operation. Enables simplified recording on the tree view. Using this mode may improve recognition of user operations in non-standard cases.

    This option is cleared by default and should be used only when the default recording method does not meet your needs. For details, see Advanced Windows-based application testing.

  • Record Select. Specifies whether the Select operation should be recorded when the mouse button is pressed (On mouse button down) or when the mouse button is released (On mouse button up).

    This option is enabled only when Record only the object's basic operation is selected.

    Default = On mouse button up.

  • Record tree items. Specifies whether tree items are recorded By name or By virtual index.

    Default = By name.

Window

Defines record settings for window objects:

  • Record only the object's basic operation. Enables simplified recording on the window. Using this mode may improve recognition of user operations in non-standard cases.

    This option is cleared by default and should be used only when the default recording method does not meet your needs. For details, see Advanced Windows-based application testing.

  • Record Click. Specifies whether the Click operation should be recorded when the mouse button is pressed (On mouse button down) or when the mouse button is released (On mouse button up).

    This option is enabled only when Record only the object's basic operation is selected.

    Default = On mouse button up.

Keyboard

Defines record settings for operations performed on the keyboard:

Utility object

Defines record settings for utility objects:

Record SystemUtil.Run commands. Specifies whether UFT records SystemUtil.Run commands when you open an application during a recording session.

This option is selected by default.

Run Settings node

Edit Box

Defines run settings for Edit objects:

  • Click Edit box before inserting text. Specifies whether UFT performs a Click operation to set the focus in an edit box before inserting text in it while running a test or business component.

  • Use keyboard events to perform Set operations. When selected, instructs UFT to simulate keyboard events when performing Set operations on edit boxes during a run session. When cleared, instructs UFT to use API or Window messages for edit box Set operations.

UI Automation

Use replay timeout for UI Automation-based tests. Instructs UFT to use a timeout interval to simulate user input when running a test with UI Automation support. Select or clear the checkbox to use the interval.

This option applies to all UI Automation objects.

Bottom area

Description

Describes the selected option.

Reset button

Resets all options in the pane to their default values.