 | ValidateExists Method (Element, String, ValidateOptions) |
Validates if the specified element exists.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool Exists(
Element element,
string message,
ValidateOptions options
)
Public Shared Function Exists (
element As Element,
message As String,
options As ValidateOptions
) As Boolean
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. - options
- Type: RanorexValidateOptions
Additional ValidateOptions for this validation action.
Return Value
Type:
BooleanTrue if the element exists; otherwise
false.
Exceptions
See Also