tTestError Structure

The tTestError structure contains only output error information, as shown in the following table.

Field Name Data Type In/Out Description
errorFlag Boolean (int) Out The test function must set this value to True when an error occurs. The adapter copies this output value into the Step.Result.Error.Occurred property when the property exists.
errorLocation tErrLoc (int) Out Reserved (no longer used).
errorCode int Out The test function can set this value to a non-zero value when an error occurs. The adapter copies the output value into the Step.Result.Error.Code property when the property exists and the errorFlag is set.
errorMessage char * Out The test function can set this field to a descriptive string when an error occurs. The adapter copies the output value into the Step.Result.Error.Msg property when the property exists and the errorFlag is set.

See Also

Example Code Module

tTestData Structure

Updating Step Properties