OnStepFail Event

Applies to TestComplete 15.70, last modified on December 17, 2024
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 user clicks the Fail button in the Step Description dialog.

Declaration

OnStepFail(SenderStepParams) Parameters
Sender [in] Required Variant
StepParams [in] Required The ManualTestingStepEventParams object

Description

The event occurs when the user clicks the Fail button in the Step Description dialog. You can use this event to perform actions when clicking the Fail button in the Step Description dialog.

Parameters

The event has the following parameters:

Sender

The Event control that processes the event.

StepParams

The ManualTestingStepEventParams object provides information about the failed step. You can use this object to modify the actions that are performed when the event occurs.

Remarks

For information on how to create an event handler for this and other TestComplete events, see Handling Events.

See Also

Manual Testing
OnStepSuccess Event
OnStepSkip Event
OnBeforeStep Event
OnTestStop Event
Handling Events
Event Control

Highlight search results