Edit

TestHandlerContext.Success() Method

Version: Available or changed with runtime version 18.0.

Gets whether the test codeunit or procedure completed successfully. Only meaningful in OnAfter events.

Syntax

Success :=   TestHandlerContext.Success()

Note

This method can be invoked using property access syntax.

Parameters

TestHandlerContext
 Type: TestHandlerContext
An instance of the TestHandlerContext data type.

Return Value

Success
 Type: Boolean
True if the test completed successfully.

TestHandlerContext data type
Test codeunits and test methods in AL
Getting started with AL
Developing extensions