RecordingMode Enumeration
Options for when to add a recorded step to the test.
| Visual Basic (Declaration) | |
|---|---|
Public Enum RecordingMode Inherits Enum | |
| C# | |
|---|---|
public enum RecordingMode : Enum | |
| Member | Description |
|---|---|
| RECORD_SEND_LINE | If a previous step has been stored, add it to the test now. Then, add the current step to the test. |
| RECORD_KEEP_LINE | If a previous step has been stored, add it to the test now. Store the current step and start the timer. If timed-out before the next call to Record, add the step to the test. |
| RECORD_KEEP_LINE_NO_TIMEOUT | If a previous step has been stored, add it to the test now. Store the current step. |
| RECORD_REPLACE_AND_KEEP_LINE_NO_TIMEOUT | Store the current step, overwriting any previously stored step. |
| RECORD_REPLACE_AND_SEND_LINE | If a previous step has been stored, delete it. Add the current step to the test. |
| RECORD_REPLACE_AND_KEEP_LINE | If a previous step has been stored, delete it. Store the current step and start the timer. If timed-out before the next call to Record, add the step to the test. |
Used with the Record Method.
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 will not be written to the script. If the
System.Object
System.ValueType
System.Enum
Mercury.QTP.WPF.CustomServer.RecordingMode

