RanorexRanorex Documentation
Exists Method (element, message)
NamespacesRanorexValidateExists(Element, String)
Validates if the specified element exists.
Declaration Syntax
C#Visual BasicVisual C++
public static void Exists(
	Element element,
	string message
)
Public Shared Sub Exists ( _
	element As Element, _
	message As String _
)
public:
static void Exists(
	Element^ element, 
	String^ message
)
Parameters
element (Element)
The element to validate.
message (String)
The message to log. "{0}" is replaced by the string representation of the element.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)