VirtualUser RaiseAlert Method C# API
Writes an alert of the specified severity to the Alerts table in Test Controller.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.4.0.26
Syntax

public void RaiseAlert(
	AlertSeverity severity,
	string description
)

Parameters

severity
Type: AlertSeverity
The severity of the alert.
description
Type: System String
An alert message which appears in the Description column of the alerts table in the Alerts sub-view of Test Controller.
Remarks

Caution note Caution
RaiseAlert must be used sparingly. It is possible to flood the Alerts log. For diagnostic purposes use WriteMessage(String), SetProgressPoint(String), Error(String) and Warn(String) to output to the VU event log; this can be viewed at runtime in Test Controller. The Alerts log should only be used for a small number of important messages.
See Also