Open topic with navigation
When UFT opens, it checks for registered Testing Agents and displays their environments in the Add-in Manager. The UFT user can select an add-in, which instructs UFT to load support for that environment by creating the Testing Agent COM object. For more information on the Add-in Manager dialog box, see the Micro Focus Unified Functional Testing Add-ins Guide.
If the Testing Agent's environment display name is unique, the Testing Agent can also be loaded using a UFT automation script. This is done by calling the SetActiveAddins method and providing the environment display name in the AddinNames argument.
This argument must be the same as the name that you provide in the following locations:
The szEnvDisplayName argument of the RegisterTeaAut method, which is used to register the Testing Agent.
The AddinName attribute of the TypeInformation element in the testing environment XML.
This name is displayed in the Add-in Manager dialog box when UFT opens. For more information on the SetActiveAddins method, see the UFT Automation Object Model Reference.
If support for an environment is loaded:
UFT recognizes the controls in that environment and can run tests on them.
UFT displays the environment display name in all of the dialog boxes that display lists of add-ins or supported environments. (For example: Define New Test Object dialog box, Object Identification dialog box.)
UFT displays the list of test object classes defined in the testing extensibility XML in dialog boxes that display the list of test object classes available for each add-in or environment.
The UFT user cannot modify the set of identification properties that comprises the test object description, which is defined in the testing environment XML. Therefore, when the UFT user selects an environment supported by a Testing Extensibility Testing Agent in the Object Identification dialog box, the buttons for adding and removing properties and the Ordinal identifier option are disabled.
In the Object Identification dialog box, the UFT user can select a test object class that belongs to an environment supported by Testing Extensibility and configure its properties for Smart Identification. For information on configuring Smart Identification, see the Micro Focus Unified Functional Testing User Guide.
When no object in the application matches the description stored in the test, UFT uses Smart Identification (if it is configured) to try to identify the object in the application.
To enable UFT to use the Smart Identification mechanism to single out the correct object when more than one object matches the description, the Testing Agent must implement FindObjectId2. For more information, see Implementing FindObjectId or FindObjectID2: Map a Description to an Object ID.
The TestingEnvironment Schema changed when moving from version 9.5 to 10.00. Therefore, in order to use Testing Agents developed using SDK versions earlier than 10.00, with QuickTest version 10.00 or later, or with UFT, you must do the following:
Modify the environment XML:
Change the id attribute name in the TypeInformation element to PackageName. Make sure that the value of the PackageName attribute is the same as the one used for the RegisterTeaAut environmentID argument.
Add an AddinName attribute to the TypeInformation element, with the display name for your environment. Make sure that this value is the same as the one used for the RegisterTeaAut szEnvDisplayName argument.
Save the environment XML as a file in the <UFT installation folder>\dat\Extensibility\TEA folder.
When creating or modifying a Business Component using the Unified Functional Testing Add-in for ALM, inherited methods are not displayed in the Automation tab. Only the Test Object-specific methods are displayed.
Workaround: To see all available methods, edit the component in UFT instead of ALM.
UFT cannot run tests in Update Run mode on Testing Extensibility test object classes with either the Update test object descriptions option or the Update Active Screen images and values option selected.
The UFT Navigate and Learn feature is not supported for Testing Extensibility test objects.