Click or drag to resize
Ranorex

ValidateExists Method (RepoItemInfo, String)

Validates if the element for the specified repository item exists.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static void Exists(
	RepoItemInfo itemInfo,
	string message
)

Parameters

itemInfo
Type: Ranorex.Core.RepositoryRepoItemInfo
The RepoItemInfo object for the repository item.
message
Type: SystemString
The message to log. "{0}" is replaced by the name of the itemInfo object.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails.
See Also