Stage 5: Adding support for running tests
At this point in the development of the Testing Agent, you can create tests with test objects and test object methods customized for your environment, but you cannot yet run these tests. To support running tests, you need to implement the FindObjectId and Run methods in the ITestable interface.
TheFindObjectId method receives an object description from OpenText Functional Testing and returns an object ID that provides immediate access to the object that matches the description. For more information, see Teaching OpenText Functional Testing to recognize the testing environment and Implementing FindObjectId or FindObjectID2: Map a description to an object ID.
The object ID that FindObjectId returns is used in subsequent calls to the Testing Agent methods. For example, when running a test, FindObjectId is called with the description of the test object that is stored in the test, and then the Run method is called with the returned object ID to perform the test step. For more information, see Developing support for running tests.
You can use the method of your choice for assigning object IDs to objects. The only requirement is that when a Testing Agent method is called with an object ID, the Testing Agent should have immediate access to the relevant object in the application being tested.
This stage includes:

