Implementing GetTesting Environment

When OpenText Functional Testing creates the Testing Agent, it calls GetTestingEnvironment to retrieve the basic description of the testing environment. You must implement GetTestingEnvironment so that it returns the testing environment information in XML format according to the Testing Environment Schema.

When deploying your Testing Agent with OpenText Functional Testing, you must install a testing environment XML file in the <OpenText Functional Testing installdir>\dat\Extensibility\TEA folder.

To make OpenText Functional Testing Extensibility test object methods and icons available in OpenText Application Quality Management, for example to work with the test or business component Keyword View or to use the Resource Viewer in OpenText Application Quality Management, you may also need to install the environment XML file in the <UFT_Add-in _for_ALM_installdir>\dat\Extensibility\TEA folder. You need to do this only if the folder exists, which means that the Add-in was installed independently from the ALM Add-ins page and not as part of the OpenText Functional Testing installation.

The easiest implementation of GetTestingEnvironment is to read the file and return the contents.