OnSuspend Event

Applies to TestComplete 15.0, last modified on November 17, 2021
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(SenderStepIDStopTest) Parameters
Sender [in] Required Variant
StepID [in] Required String
StopTest [in] Required Boolean

Description

The OnSuspend event occurs in the following cases:

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

Highlight search results