SysTestCase.testsElementName Method [AX 2012]

Gets the name of the code coverage element.

public IdentifierName testsElementName()

Run On

Called

Return Value

Type: IdentifierName Extended Data Type
The name of the element.

Code coverage will be recorded for the element returned by this method and the testsElementType method. The default behavior is to return the name of the test case without the "Test" suffix. Override this method to record code coverage for a different element.

Community Additions

ADD
Show: