Implementing BeginRecording and EndRecording

OpenText Functional Testing calls the BeginRecording method when an OpenText Functional Testing user starts a recording session. The BeginRecording method receives a reference to an OpenText Functional Testing Extensibility object that exposes the IRecorder and IRecordSuppressor interfaces. While the recording session is active, the Testing Agent uses the IRecorder::Record callback method to inform OpenText Functional Testing of every operation that needs to be recorded. For more information, see Recording Test Object Method Steps . The Testing Agent can also use IRecorder2::RecordLine to add additional VBScript lines to the test during the recording session.

When a recording session begins, the Testing Agent can call the IRecordSuppressor::Suppress method to suppress native recording on processes and windows that are already open. For more information, see Suppressing OpenText Functional Testing Native Recording.

OpenText Functional Testing calls the EndRecording method when the OpenText Functional Testing user stops the recording session. This informs the Testing Agent that the reference to the OpenText Functional Testing Extensibility object is no longer valid, and that the Testing Agent must not use any members of the IRecorder and IRecordSuppressor interfaces.