Click or drag to resize
Ranorex

ReportFailure Method (String, String)

Logs a logical failure (e.g. test step failure) message.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static void Failure(
	string category,
	string message
)

Parameters

category
Type: SystemString
The category name.
message
Type: SystemString
The message text.
Remarks
Calling this method marks the current test container as failed, but does not stop execution of the current module or test container. If you want the execution of the current module to stop immediately, call Fail(String) instead.
See Also