The manual testing functionality is deprecated. Do not use it for creating new tests. It will be removed in a future TestComplete release. |
Occurs when the manual test is about to be suspended.
Declaration
OnSuspend(Sender, StepID, StopTest)
Parameters
Sender | [in] | Required | Variant | |
StepID | [in] | Required | String | |
StopTest | [in] | Required | Boolean |
Description
The OnSuspend
event occurs in the following cases:
- When the tester clicks the button in the Step Description dialog.
- When the tester selects the Suspend command from the manual test’s context menu in the Project Explorer panel.
- When the
ManualTesting.Suspend
method is called from a script.
You can use this event to perform specific actions when the manual test is about to be suspended.
Parameters
The event has the following parameters:
Sender
The Event control that processes the event.
StepID
Specifies the identifier of the manual test step at which the test was suspended. Step identifiers are shown in the ID field of the Manual Testing editor.
StopTest
Specifies whether the manual test will be stopped (True) or proceeded (False).
Remarks
For information on how to create an event handler for this and other TestComplete events, see Handling Events.
See Also
Manual Testing
Suspend Method
OnResume Event
Handling Events
Event Control