![]() |
The manual testing functionality is deprecated but still available in TestComplete. While we recommend using other approaches for new tests, you can continue to create and run manual tests if needed.. |
Occurs when the user clicks the Fail button in the Step Description dialog.
Declaration
OnStepFail(Sender, StepParams)
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