VirtualUserScript 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.5.5.77
Syntax

public void RaiseAlert(
	AlertSeverity severity,
	string message
)

Parameters

severity
Type: AlertSeverity
The severity of the alert.
message
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