Click or drag to resize
Ranorex

ValidateFail Method (String)

Always lets the validation fail.

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

Parameters

message
Type: SystemString
The message to log.
Exceptions
ExceptionCondition
ValidationExceptionAlways thrown.
Remarks
Use this method to mark a 'test case' or 'smart folder' as failed and immediately exit the current module and test iteration.
See Also