Class AssertStyle
Inherited Members
Namespace: ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts
Assembly: ArtOfTest.WebAii.dll
Syntax
public class AssertStyle : BaseControlAssert<HtmlControl>
Constructors
AssertStyle()
Declaration
public AssertStyle()
AssertStyle(HtmlControl)
AssertStyle(Boolean)
Declaration
public AssertStyle(bool throwOnFailure)
Parameters
System.Boolean
throwOnFailure
|
Properties
DefaultStyleType
Methods
Box(HtmlStyleBox, String)
Declaration
public bool Box(HtmlStyleBox styleName, string expectedValue)
Parameters
HtmlStyleBox
styleName
|
System.String
expectedValue
|
Returns
System.Boolean
|
Box(HtmlStyleBox, String, HtmlStyleType)
Declaration
public bool Box(HtmlStyleBox styleName, string expectedValue, HtmlStyleType styleType)
Parameters
HtmlStyleBox
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
Returns
System.Boolean
|
Box(HtmlStyleBox, String, HtmlStyleType, StringCompareType)
Declaration
public bool Box(HtmlStyleBox styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters
HtmlStyleBox
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
StringCompareType
compareType
|
Returns
System.Boolean
|
ColorAndBackground(HtmlStyleColorAndBackground, String)
Declaration
public bool ColorAndBackground(HtmlStyleColorAndBackground styleName, string expectedValue)
Parameters
HtmlStyleColorAndBackground
styleName
|
System.String
expectedValue
|
Returns
System.Boolean
|
ColorAndBackground(HtmlStyleColorAndBackground, String, HtmlStyleType)
Declaration
public bool ColorAndBackground(HtmlStyleColorAndBackground styleName, string expectedValue, HtmlStyleType styleType)
Parameters
HtmlStyleColorAndBackground
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
Returns
System.Boolean
|
ColorAndBackground(HtmlStyleColorAndBackground, String, HtmlStyleType, StringCompareType)
Declaration
public bool ColorAndBackground(HtmlStyleColorAndBackground styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters
HtmlStyleColorAndBackground
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
StringCompareType
compareType
|
Returns
System.Boolean
|
Display(HtmlStyleDisplay, String)
Declaration
public bool Display(HtmlStyleDisplay styleName, string expectedValue)
Parameters
HtmlStyleDisplay
styleName
|
System.String
expectedValue
|
Returns
System.Boolean
|
Display(HtmlStyleDisplay, String, HtmlStyleType)
Declaration
public bool Display(HtmlStyleDisplay styleName, string expectedValue, HtmlStyleType styleType)
Parameters
HtmlStyleDisplay
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
Returns
System.Boolean
|
Display(HtmlStyleDisplay, String, HtmlStyleType, StringCompareType)
Declaration
public bool Display(HtmlStyleDisplay styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters
HtmlStyleDisplay
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
StringCompareType
compareType
|
Returns
System.Boolean
|
Font(HtmlStyleFont, String)
Declaration
public bool Font(HtmlStyleFont styleName, string expectedValue)
Parameters
HtmlStyleFont
styleName
|
System.String
expectedValue
|
Returns
System.Boolean
|
Font(HtmlStyleFont, String, HtmlStyleType)
Declaration
public bool Font(HtmlStyleFont styleName, string expectedValue, HtmlStyleType styleType)
Parameters
HtmlStyleFont
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
Returns
System.Boolean
|
Font(HtmlStyleFont, String, HtmlStyleType, StringCompareType)
Declaration
public bool Font(HtmlStyleFont styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters
HtmlStyleFont
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
StringCompareType
compareType
|
Returns
System.Boolean
|
List(HtmlStyleList, String)
Declaration
public bool List(HtmlStyleList styleName, string expectedValue)
Parameters
HtmlStyleList
styleName
|
System.String
expectedValue
|
Returns
System.Boolean
|
List(HtmlStyleList, String, HtmlStyleType)
Declaration
public bool List(HtmlStyleList styleName, string expectedValue, HtmlStyleType styleType)
Parameters
HtmlStyleList
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
Returns
System.Boolean
|
List(HtmlStyleList, String, HtmlStyleType, StringCompareType)
Declaration
public bool List(HtmlStyleList styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters
HtmlStyleList
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
StringCompareType
compareType
|
Returns
System.Boolean
|
Text(HtmlStyleText, String)
Declaration
public bool Text(HtmlStyleText styleName, string expectedValue)
Parameters
HtmlStyleText
styleName
|
System.String
expectedValue
|
Returns
System.Boolean
|
Text(HtmlStyleText, String, HtmlStyleType)
Declaration
public bool Text(HtmlStyleText styleName, string expectedValue, HtmlStyleType styleType)
Parameters
HtmlStyleText
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
Returns
System.Boolean
|
Text(HtmlStyleText, String, HtmlStyleType, StringCompareType)
Declaration
public bool Text(HtmlStyleText styleName, string expectedValue, HtmlStyleType styleType, StringCompareType compareType)
Parameters
HtmlStyleText
styleName
|
System.String
expectedValue
|
HtmlStyleType
styleType
|
StringCompareType
compareType
|
Returns
System.Boolean
|