Click or drag to resize
Ranorex

ValidateExists Method (String, Duration, String)

Validates if the element for the specified path exists.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static void Exists(
	string path,
	Duration searchTimeout,
	string message
)

Parameters

path
Type: SystemString
The path to validate.
searchTimeout
Type: RanorexDuration
The time to keep looking for an element matching the path.
message
Type: SystemString
The message to log. "{0}" is replaced by the path.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails.
See Also