SysTestCase.testsElementType Method [AX 2012]
Gets the type of the code coverage element.
Code coverage will be recorded for the element returned by this method and the testsElementName method. The default behavior is to return the UtilElementType::Class enumeration value. Override this method to record code coverage for a different element type. When returning the UtilElementType::Table enumeration value, make sure to also set the test case to run on the server tier; otherwise, code coverage is not recorded.
Community Additions
ADD
Show: