SysTestCase.testsElementName Method [AX 2012]

Gets the name of the code coverage element.

Syntax

public IdentifierName testsElementName()

Run On

Called

Return Value

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

Remarks

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.

See Also

SysTestCase Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework