Click or drag to resize
Ranorex

ReportFailure Method (String)

Logs a logical failure (e.g. test step failure) message, using the default category.

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

Parameters

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