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 before a test function of a test codeunit is run.

OnBeforeTestRun(CodeunitID : Integer;CodeunitName : Text[30];FunctionName : Text[30]) Ok : Boolean

Parameters

CodeunitID

Type: Integer

The ID of the codeunit to be run.

CodeunitName

Type: Text

The name of the test codeunit to be run.

FunctionName

Type: Text

The name of the test function to be run.

NoteNote

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

Expand imageReturn Value

Expand imageApplies To

Expand imageRemarks

Expand imageExample

Expand imageSee Also