New to Telerik Test StudioStart a free 30-day trial

Definition

Constructors

C#
public AssertAttribute()
C#
public AssertAttribute(bool throwOnFailure)
Parameters:throwOnFailurebool
C#
public AssertAttribute(HtmlControl control, bool throwOnFailure)
Parameters:controlHtmlControlthrowOnFailurebool
C#
public AssertAttribute(HtmlControl control)
Parameters:controlHtmlControl

Methods

C#
public bool Exists(string attributeName)
Parameters:attributeNamestringReturns:

bool

C#
public bool ExistsNot(string attributeName)
Parameters:attributeNamestringReturns:

bool

C#
public bool Value(string attributeName, StringCompareType compare, string expectedValue)
Parameters:attributeNamestringcompareStringCompareTypeexpectedValuestringReturns:

bool