ManualTesting Object MTSA Properties

Applies to TestComplete 15.70, last modified on December 17, 2024
This property is obsolete. See the Remarks section below.

Description

The ManualTesting object provides a number of read-only properties whose names have the mtsa prefix. These properties are used to obtain integer constant values that can be assigned to the ManualTestingStepEventParams.StepActions property in a manual testing event handler. By assigning the properties’ values to the ManualTestingStepEventParams.StepActions property, you can change the default processing actions for a test step event that was generated during the manual test execution.

These properties are obsolete. They are supported only for the backward compatibility. To obtain integer constant values that can be assigned to the ManualTestingStepEventParams.StepActions property in a manual testing event handler, use properties of the ManualTests object.

Declaration

ManualTestingObj.mtsaNNN

Read-Only Property Integer
ManualTestingObj An expression, variable or parameter that specifies a reference to a ManualTesting object

Applies To

The property is applied to the following object:

Property Value

Each of the properties returns an integer value that specifies the action to be performed as a result of a manual test step event:

Property Value Description
mtsaDefault 0 Default processing.
mtsaShowFailDialog 1 Can be used in any manual testing event. Commands TestComplete to show the Step Failure dialog and consider the step as failed.
mtsaStop 2 Can be used in the OnBeforeStep, OnStepFail and OnStepSuccess event handlers. Commands TestComplete to stop the test execution after the event is processed.
mtsaRetry 4 Can be used in the OnStepFail, OnTestStop or OnStepSuccess event handler. Commands TestComplete to execute the current step once again.
mtsaContinue 8 Can be used in the OnStepFail event handler. Specifies that TestComplete should continue the test execution regardless of the step result.
mtsaFail 16 The same as mtsaShowFailDialog. Can be used in the OnStepSuccess and OnTestStop event handlers. Commands TestComplete to consider the test as failed regardless of the actual step result.
mtsaSkip 32 Can be used in the OnBeforeStep event handlers. Commands TestComplete to skip the current step.

See Also

ManualTesting Object
StepActions Property
Manual Testing
Executing Manual Tests
Manual Testing Events

Highlight search results