The previous stages described creating the Testing Agent and implementing the ITestable interface, enabling UFT One to recognize a new environment, and run tests on applications. Up to this stage, the tests had to be created manually, based on test objects defined in the object repository or on programmatic descriptions of the test objects in the Editor.
UFT One also enables users to create a GUI test automatically by recording a series of operations performed on the application. UFT One creates test steps that represent the operations performed.
To support the UFT One recording option, the Testing Agent must implement the IRecordable interface, call the Record API method to instruct UFT One what test steps to create based on the users operations, and use the Suppress/UnSuppress API methods to prevent UFT One from recording generic test steps for the same operations. For more information, see Developing Support for Recording.
This section describes how the QuickID Testing Agent was extended to support recording.
This stage includes: