Bearbeiten

TestHandlerContext.TestCaseName() Method

Version: Available or changed with runtime version 18.0.

Gets the name of the test case being run. Only populated for data-driven test case events.

Syntax

TestCaseName :=   TestHandlerContext.TestCaseName()

Note

This method can be invoked using property access syntax.

Parameters

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

Return Value

TestCaseName
 Type: Text
The name of the test case.

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