Open topic with navigation
For UFT to communicate with your Testing Agent, the agent must be installed on the same computer as UFT, and registered with UFT. From the user's perspective, after you install and register the Testing Agent, it acts as a UFT add-in. For example, UFT displays the name of your environment in all of the dialog boxes that display lists of add-ins or supported environments. Additionally, UFT displays the list of test object classes defined by your Testing Agent in dialog boxes that display the list of test object classes available for each add-in.
You can install the Testing Agent using any procedure appropriate for your technology. The installation can be part of your software installation, or it can be a separate procedure.
Do not install the Testing Agent in the UFT installation folder.
Your deployment must install a copy of the environment XML file in the following locations:
When installing for use with UFT, you must install a testing environment file in the <UFT installation folder>\dat\Extensibility\TEA folder.
To use UFT Testing Extensibility with Business Process Testing, you may also need to install a testing environment file in the <Unified Functional Testing Add-in for ALM installation folder>\dat\Extensibility\TEA folder. You need to do this only if the folder exists, which means that the Add-in for ALM was installed independently from the ALM Add-ins page and not as part of the UFT installation.
For information on Business Process Testing, see the Micro Focus Unified Functional Testing User Guide and the Micro Focus Business Process Testing User Guide.
The testing environment XML file must conform to the Testing Environment Schema.
For information on the definitions the testing environment XML must contain, see Defining Test Object Classes and Test Object Methods.
You register the Testing Agent by calling a C function that UFT provides for this purpose. For more information, see Registering Your Testing Agent. You can perform the registration as part of the Testing Agent installation or as a separate procedure.
This registration enables UFT to communicate with the Testing Agent. Registering the Testing Agent with UFT does not perform the registration of the COM object with the operating system. Registering the Testing Agent COM object itself to the computer needs to be handled separately.
If your testing agent is compiled with Microsoft Visual Studio 2005, 2008, or 2010, provide the relevant redistributable as part of your testing agent installation process.
Preferably, compile your testing agent with Microsoft Visual Studio version 2012 and later, as the Microsoft Visual Studio 2012 and 2015 redistributable is installed as part of the UFT installation.