 | ValidateAttributeNotContains Method (RepoItemInfo, String, String) |
Validates if the attribute of the element for the specified repository item does not contain the specific value.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void AttributeNotContains(
RepoItemInfo itemInfo,
string name,
string value
)
Public Shared Sub AttributeNotContains (
itemInfo As RepoItemInfo,
name As String,
value As String
)
Parameters
- itemInfo
- Type: Ranorex.Core.RepositoryRepoItemInfo
The RepoItemInfo object for the repository item. - name
- Type: SystemString
The name of the attribute to validate. - value
- Type: SystemString
The value of the attribute to contain.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If value is null. |
| ValidationException | If the validation fails. |
See Also