RecordingMode Enumeration
Options for when to write a recorded string to the script.
Syntax
'Declaration
 
<System.Runtime.InteropServices.ComVisibleAttribute(False)>
Public Enum RecordingMode 
   Inherits System.Enum
[System.Runtime.InteropServices.ComVisible(false)]
public enum RecordingMode : System.Enum 
Members
MemberDescription
RECORD_KEEP_LINEIf a previous string has been stored, write it now. Store the current string and start the timer. If timed-out before the next call to RecordFunction, write the string to the script.
RECORD_KEEP_LINE_NO_TIMEOUTIf a previous string has been stored, write it now. Store the current string.
RECORD_REPLACE_AND_KEEP_LINEIf a previous string has been stored, delete it. Store the current string and start the timer. If timed-out before the next call to RecordFunction, write the string to the script.
RECORD_REPLACE_AND_KEEP_LINE_NO_TIMEOUTStore the current string, overwriting any previous string.
RECORD_REPLACE_AND_SEND_LINEIf a previous string has been stored, delete it. Write the current string into the test script.
RECORD_SEND_LINEIf a previous string has been stored, write it now. Then, write the current string into the test script.
Remarks
Used with EventsListenerBase.RecordFunction and CustomServerBase.RecordFunction.

RecordingMode is used to handle cases where the meaning of the event or message can not be determined immediately. An example would be a click event. If it is followed immediately by a double-click event, the click event is not written to the script. If the keep times out, then the click event is written.

One line can be stored while the current line is being processed.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Mercury.QTP.CustomServer.RecordingMode