Open topic with navigation
After creating the basic Testing Agent COM object, implementing the GetTestingEnvironment method, and developing the registration mechanism, you can test the affect of using the Testing Agent with UFT.
If you register your Testing Agent and run UFT, the display name you provided when registering your environment is displayed in the Add-in Manager dialog box. If you select the check box for your environment, UFT runs the Testing Agent.
When UFT opens, you can see that UFT recognizes your environment. For example:
In the Define New Test Object dialog box, the name of your environment is displayed in the Environment list. If you select your environment from the list, all of the test object classes that you defined in the testing environment XML are displayed in the Class list.
You can use the Define New Test Object dialog box to add new test objects to the object repository. After you populate the object repository with test objects that represent objects in your environment, you can create a test in the Keyword View or Editor, using the test objects you defined.
In the Editor, Statement Completion displays all of the operations available for the test object and the possible input values for these operations. The display is based on the definitions in the testing environment XML.
In the Keyword View, once you choose an object from the object repository in the Item column, the list of available operations in the Operation column reflects the definitions in the testing environment XML. After you choose an operation, the Value cell is partitioned according to the number of arguments of the selected operation. If you defined possible values for the operation (in the ListOfValues element), they are displayed in a list. For example, when working with the QuickID Testing Agent, if you create a test object of class TEASampleCitySelector and create a test step on that test object with the operation Select, clicking the Value cell will display the list of cities defined in TEASampleEnvironment.xml.
If you defined descriptions and documentation strings for test object methods that you defined in the testing environment XML, they are displayed in tooltips and in the Documentation column, respectively.
For more information on working with these options in UFT, see the Micro Focus Unified Functional Testing User Guide.