WriteErr Function

Action

Writes to the .err file of the current virtual user.

注: Error files (.err) are written only if the Virtual user report on error files (.rpt) option is enabled in the General tab of the Profile Settings - Results dialog.

Include file

Kernel.bdh

Syntax

WriteErr( in sErrMsg : string );
Parameter Description
sErrMsg String containing the message to write to the .err file

Example

WriteErr("Function MyFunc failed");