NoteNote

The content in this topic only applies to Microsoft Dynamics NAV 2009 SP1. For Microsoft Dynamics NAV 2009 content, see Developer and IT Pro Help for Microsoft Dynamics NAV 2009.

Executes after a test function of a test codeunit has been run.

OnAfterTestRun(CodeunitID : Integer;CodeunitName : Text[30];FunctionName : Text[30];Success : Boolean)

Parameters

CodeunitID

Type: Integer

The ID of the codeunit that has run.

CodeunitName

Type: Text

The name of the test codeunit that has run.

FunctionName

Type: Text

The name of the test function that has run.

NoteNote

This parameter is empty when the OnAfterTestRun trigger is called for the entire test codeunit.

Success

Type: Boolean

true indicates that the test function run succeeded. false indicates that the test function run failed.

Expand imageApplies To

Expand imageRemarks

Expand imageExample

Expand imageSee Also