Click or drag to resize
Ranorex

ValidateNotExists Method (Element, String)

Validates if the specified element does not exist.

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

Parameters

element
Type: Ranorex.CoreElement
The element to validate.
message
Type: SystemString
The message to log. "{0}" is replaced by the string representation of the element.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails.
See Also