Assert Color/Background styles.
Namespace: ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
public bool ColorAndBackground( HtmlStyleColorAndBackground styleName, string expectedValue, HtmlStyleType styleType )
Parameters
- styleName
- Type: ArtOfTest.WebAii.Controls.HtmlControls.HtmlAssertsHtmlStyleColorAndBackground
The color or background style. - expectedValue
- Type: SystemString
The expected style value. - styleType
- Type: ArtOfTest.WebAii.Controls.HtmlControls.HtmlAssertsHtmlStyleType
Either computed or inline.
Return Value
Type: BooleanTrue if the values match else will throw an AssertException.
Remarks
See Also