Search code examples
hp-uft

HP-UFT configure settings for capturing of Object Repository


Is it possible to customize/configure the Capture features in HP UFT Repository manager (Tools: "Navigate and Learn", "Spy" and "Add").

When capturing the object I would like to define what HP automatically sets as the name and test object properties.

For instance if property Help Text if available for an object, set this to the name.


Solution

  • The way UFT determines what name to give an object is controlled by the tag query name in the registry.

    The default value is logical name but you can change it to any other property supported by the object's GetROProperty.

    In order to configure open regedit and go to HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\TestObjects.

    Then under the object you want (e.g. Edit) change tag query name from logical name to the property you want (e.g. placeholder).

    If the object in question is web-based and the property you want isn't supported by UFT you can use the attribute/ notation