Bearbeiten

TestHandlerContext.ProcedureName() Method

Version: Available or changed with runtime version 18.0.

Gets the name of the test procedure being run. Empty for codeunit-level events.

Syntax

ProcedureName :=   TestHandlerContext.ProcedureName()

Note

This method can be invoked using property access syntax.

Parameters

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

Return Value

ProcedureName
 Type: Text
The name of the test procedure.

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