Compare values in the test object to the corresponding values in the run-time object

Relevant for: GUI tests and components

  1. Do one of the following:

    • For tests and scripted components: Right-click the object in the Keyword View or in the Editor and select Object Properties. The Object Properties Dialog Box opens and displays the properties and values that are used to identify the object.

    •  
    • For components: Open the Object Repository Window (Resources > Object Repository) and select the required test object from the appropriate object repository.
  2. Make a note of the object's class and each of the properties and values displayed in the dialog box.
  3. Open your application to the page containing the object.
  4. Open the Use the Object Spy: In UFT One, click the down arrow near the Object Identification Center toolbar button and select the Object Spy .

  5. Select description properties.
  6. Click the pointing hand . UFT One is minimized, and the pointer changes into a pointing hand.
  7. Click the test object in the open application. The Object Spy displays the object hierarchy tree and the properties of the object that is selected within the tree.

  8. In the Properties tab, locate the object class and those properties that were listed in the Object Properties dialog. Compare the values of these properties with the ones you copied from the Object Properties dialog.

After performing the comparison, did you find one or more conflicting object property values?