Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Related information
TestHandlerContext data type
Test codeunits and test methods in AL
Getting started with AL
Developing extensions