New to Telerik Test StudioStart a free 30-day trial

Definition

Constructors

C#
public AssertStyle()
C#
public AssertStyle(bool throwOnFailure)
Parameters:throwOnFailurebool
C#
public AssertStyle(HtmlControl control)
Parameters:controlHtmlControl

Properties

C#
public HtmlStyleType DefaultStyleType { get; set; }

Methods

C#
public bool Box(HtmlStyleBox styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters:styleNameHtmlStyleBoxexpectedValuestringstyleTypeHtmlStyleTypecompareTypeStringCompareTypeReturns:

bool

C#
public bool Box(HtmlStyleBox styleName, string expectedValue, HtmlStyleType styleType)
Parameters:styleNameHtmlStyleBoxexpectedValuestringstyleTypeHtmlStyleTypeReturns:

bool

C#
public bool Box(HtmlStyleBox styleName, string expectedValue)
Parameters:styleNameHtmlStyleBoxexpectedValuestringReturns:

bool

C#
public bool ColorAndBackground(HtmlStyleColorAndBackground styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters:styleNameHtmlStyleColorAndBackgroundexpectedValuestringstyleTypeHtmlStyleTypecompareTypeStringCompareTypeReturns:

bool

C#
public bool ColorAndBackground(HtmlStyleColorAndBackground styleName, string expectedValue, HtmlStyleType styleType)
Parameters:styleNameHtmlStyleColorAndBackgroundexpectedValuestringstyleTypeHtmlStyleTypeReturns:

bool

C#
public bool ColorAndBackground(HtmlStyleColorAndBackground styleName, string expectedValue)
Parameters:styleNameHtmlStyleColorAndBackgroundexpectedValuestringReturns:

bool

C#
public bool Display(HtmlStyleDisplay styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters:styleNameHtmlStyleDisplayexpectedValuestringstyleTypeHtmlStyleTypecompareTypeStringCompareTypeReturns:

bool

C#
public bool Display(HtmlStyleDisplay styleName, string expectedValue, HtmlStyleType styleType)
Parameters:styleNameHtmlStyleDisplayexpectedValuestringstyleTypeHtmlStyleTypeReturns:

bool

C#
public bool Display(HtmlStyleDisplay styleName, string expectedValue)
Parameters:styleNameHtmlStyleDisplayexpectedValuestringReturns:

bool

C#
public bool Font(HtmlStyleFont styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters:styleNameHtmlStyleFontexpectedValuestringstyleTypeHtmlStyleTypecompareTypeStringCompareTypeReturns:

bool

C#
public bool Font(HtmlStyleFont styleName, string expectedValue, HtmlStyleType styleType)
Parameters:styleNameHtmlStyleFontexpectedValuestringstyleTypeHtmlStyleTypeReturns:

bool

C#
public bool Font(HtmlStyleFont styleName, string expectedValue)
Parameters:styleNameHtmlStyleFontexpectedValuestringReturns:

bool

C#
public bool List(HtmlStyleList styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters:styleNameHtmlStyleListexpectedValuestringstyleTypeHtmlStyleTypecompareTypeStringCompareTypeReturns:

bool

C#
public bool List(HtmlStyleList styleName, string expectedValue, HtmlStyleType styleType)
Parameters:styleNameHtmlStyleListexpectedValuestringstyleTypeHtmlStyleTypeReturns:

bool

C#
public bool List(HtmlStyleList styleName, string expectedValue)
Parameters:styleNameHtmlStyleListexpectedValuestringReturns:

bool

C#
public bool Text(HtmlStyleText styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters:styleNameHtmlStyleTextexpectedValuestringstyleTypeHtmlStyleTypecompareTypeStringCompareTypeReturns:

bool

C#
public bool Text(HtmlStyleText styleName, string expectedValue, HtmlStyleType styleType)
Parameters:styleNameHtmlStyleTextexpectedValuestringstyleTypeHtmlStyleTypeReturns:

bool

C#
public bool Text(HtmlStyleText styleName, string expectedValue)
Parameters:styleNameHtmlStyleTextexpectedValuestringReturns:

bool