Click or drag to resize
Ranorex

ValidateAttributeNotEqual Method (IElement, String, Object)

Validates if the attribute of the specified element does not match a specific value.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static void AttributeNotEqual(
	IElement element,
	string name,
	Object value
)

Parameters

element
Type: Ranorex.CoreIElement
The element to validate.
name
Type: SystemString
The name of the attribute to validate.
value
Type: SystemObject
The value of the attribute not to match.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails.
See Also