One way to add objects to the object repository and create tests in UFT One is by recording. The UFT One user starts a recording session, performs operations on the application, and then stops the recording. During the recording session, UFT One records all of the user's operations as steps in a test and adds all of the relevant objects to the object repository.
To support the UFT One recording capability, the Testing Agent must:
The following diagram shows the general sequence of methods that are called when recording a test. This illustrates the purpose of the methods that the Testing Agent must implement. For example, UFT One calls the methods BeginRecording and EndRecording from the IRecordable interface to inform the Testing Agent when a recording session is started or stopped by the UFT One user. During a recording session, when the Testing Agent decides that a user operation needs to be recorded as a step in the test, the Testing Agent calls the Record method to instruct UFT One to record a step:
For more information, see: