Object Properties Dialog Box

Relevant for: GUI tests and components

This dialog box enables you to:

  • View description properties and values for objects in your test or component steps, or in the Active Screen (for actions), as well as other object details.

  • Modify the properties and property values used to identify the object (for objects that are stored in the local object repository). You modify the properties and values in the Object Properties Dialog Box in the same way as you modify the test object details in the Object Repository Window. For details, see Maintain test objects in object repositories.

    Note:

    • For Insight and Text test objects, you can view properties such as the ordinal identifier and visual relation identifiers, but not the test object image. To view and modify the test object image, click View in Repository to open the test object in the Object Repository window.
    • This dialog box is not available for Insight objects in the Active Screen.
To access
  1. Ensure that a GUI action or component is in focus in the document pane.
  2. Do use one of the following:

    For actions:

    • In the action, right-click in the step of the object whose properties you want to view and choose Object Properties.
    • In the Active Screen, right-click the object whose properties you want to view and choose View / Add Object.

    For components: In the component, right-click the step of the object whose properties you want to view and choose Object Properties.

User interface elements are described below:

UI Elements

Description

Add description properties button.

Remove selected description properties button.

Name

The name that UFT One assigns to the object. You can change the name of a object in the local object repository. For details, see Maintain test objects in object repositories.

Class

The class of the object.

Description properties

The properties and property values used to identify the object during a run session.

Tip:  

Visual relation identifier

A set of definitions that enable you to identify the object in the application according to its neighboring objects in the application. When this option is defined and enabled, the Ordinal identifier option is disabled. For details, see Visual Relation Identifier Dialog Box.

Note: If one or more related objects cannot be found in the object repository, indicating text is displayed in the cell.

Ordinal identifier

A numerical value that indicates the object's order or location relative to other objects with an otherwise identical description (objects that have the same values for all properties). For details, see Ordinal Identifier Dialog Box.

Note: If a visual relation identifier is defined for a specific test object, this option is disabled.

Additional details

Contains the following options:

  • Enable Smart Identification. Enables you to select True or False to specify whether UFT One should use Smart Identification to identify the test object during the run session if it is not able to identify the object using the test object description.

    Note: This option is available only if Smart description properties are defined for the test object's class in the Object Identification Dialog Box. For details, see Smart identification.

  • Comment. Enables you to add textual information about the test object.

View in Repository

Opens the Object Repository window and displays the description properties and values for the selected object.

Add to Repository
(actions only)

Displayed only for an object that is not in the object repository. (Available only when you open this dialog box from the Active Screen.)

Adds this object to the action's local object repository. After this object is added, the Add to Repository button changes to View in Repository.