RanorexRanorex Documentation
Attribute Method (element, name, value)
NamespacesRanorexValidateAttribute(Element, String, Object)
Validates if the attribute of the specified element matches a specific value.
Declaration Syntax
C#Visual BasicVisual C++
public static void Attribute(
	Element element,
	string name,
	Object value
)
Public Shared Sub Attribute ( _
	element As Element, _
	name As String, _
	value As Object _
)
public:
static void Attribute(
	Element^ element, 
	String^ name, 
	Object^ value
)
Parameters
element (Element)
The element to validate.
name (String)
The name of the attribute to validate.
value (Object)
The value of the attribute to match.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails.

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