Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Version: Available or changed with runtime version 18.0.
Gets the ID of the test codeunit being run.
Syntax
CodeunitId := TestHandlerContext.CodeunitId()
Note
This method can be invoked using property access syntax.
Parameters
TestHandlerContext
Type: TestHandlerContext
An instance of the TestHandlerContext data type.
Return Value
CodeunitId
Type: Integer
The ID of the test codeunit.
Related information
TestHandlerContext data type
Test codeunits and test methods in AL
Getting started with AL
Developing extensions