 | ValidateNotExists Method (Element, String, Boolean) |
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,
bool exceptionOnFail
)
Public Shared Function NotExists (
element As Element,
message As String,
exceptionOnFail As Boolean
) 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. - exceptionOnFail
- Type: SystemBoolean
A value specifying if an exception should be
thrown if the validation fails.
Return Value
Type:
BooleanTrue if the element does not exist; otherwise
false.
Exceptions
See Also