RanorexRanorex Documentation
Exists Method (itemInfo, message)
NamespacesRanorexValidateExists(RepoItemInfo, String)
Validates if the element for the specified repository item exists.
Declaration Syntax
C#Visual BasicVisual C++
public static void Exists(
	RepoItemInfo itemInfo,
	string message
)
Public Shared Sub Exists ( _
	itemInfo As RepoItemInfo, _
	message As String _
)
public:
static void Exists(
	RepoItemInfo^ itemInfo, 
	String^ message
)
Parameters
itemInfo (RepoItemInfo)
The RepoItemInfo object for the repository item.
message (String)
The message to log. "{0}" is replaced by the name of the itemInfo object.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)