 | ValidateNotExists Method (Element, String, ValidateOptions) |
Validates if the specified element does not exist.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool NotExists(
Element element,
string message,
ValidateOptions options
)
Public Shared Function NotExists (
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 does not exist; otherwise
false.
Exceptions
See Also