Open topic with navigation
|IRecorder2 Interface : Record Method|
Using this callback method, the Testing Agent sends UFT the information necessary for invocation of a test object method. When Record is called, UFT writes a test step using this information.
The Testing Agent gets the reference to the Record method from the IRecorder reference passed to the Testing Agent by IRecordable.BeginRecording.
The Testing Agent must call the Record method before allowing the application to react to the performed operation. This enables UFT to collect information regarding the state of the application before the step is carried out.