 | ValidateNotExists Method (RxPath, Duration, String, ValidateOptions) |
Validates if the element for the specified path does not exist.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool NotExists(
RxPath path,
Duration searchTimeout,
string message,
ValidateOptions options
)
Public Shared Function NotExists (
path As RxPath,
searchTimeout As Duration,
message As String,
options As ValidateOptions
) As Boolean
Parameters
- path
- Type: Ranorex.CoreRxPath
The path to validate. - searchTimeout
- Type: RanorexDuration
The time to keep looking for an element matching the path. - message
- Type: SystemString
The message to log. "{0}" is replaced by the string
representation of the path. - options
- Type: RanorexValidateOptions
Additional ValidateOptions for this validation action.
Return Value
Type:
BooleanTrue if the element for the path does not exist; otherwise
false.
Exceptions
See Also