Open topic with navigation
To support the UFT recording capability, you implement the IRecordable interface and you design the Testing Agent to record operations on the application and suppress native UFT recording on this application. After you develop this support, you can test the process of recording a test on an application that contains objects from your environment.
Do the following, as described in Testing Your Support for the Object Spy:
Ensure that the Testing Agent and UFT are closed and upgrade the Testing Agent.
Open UFT and run the Testing Agent.
Run an application with objects from your environment.
In UFT, click the Record button or select Record > Record to start a recording session. For more information, see the Micro Focus Unified Functional Testing User Guide. Perform operations on the application.
In the Keyword View, ensure that:
UFT correctly records the steps you perform
No redundant steps are recorded
The step summaries in the Documentation column reflect the Documentation elements you defined in the testing environment XML
In the object repository ensure the following:
The objects on which you performed operations are correctly added to the object repository.
The icons used for the objects are the ones you defined in the testing environment XML (if you defined any).
Click the Stop button or select Record > Stop.
In the Keyword View, click in the Operation column of a step that contains an object from your environment. Ensure the following:
The list of available operations includes all of the test object methods that you defined for objects of this type.
The tooltips for test object methods or identification properties that you defined display the strings that you defined in the Description element in the testing environment XML.
If you defined arguments for a test object method in the testing environment XML, the Value column of the Keyword View contains a cell for each argument.
Run the test you created and verify that it performs correctly.