AssertStyle Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Assert based on common html styles.
Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.ControlsBaseControlAssertHtmlControl
    ArtOfTest.WebAii.Controls.HtmlControls.HtmlAssertsAssertStyle

Namespace:  ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public class AssertStyle : BaseControlAssert<HtmlControl>

The AssertStyle type exposes the following members.

Constructors

  NameDescription
Public methodAssertStyle
Create a new AssertStyle object.
Public methodAssertStyle(Boolean)
Create a new AssertStyle object.
Public methodAssertStyle(HtmlControl)
Create a new AssertStyle object passing it the target control.
Top
Properties

  NameDescription
Public propertyDefaultStyleType
Gets or sets the default style type to use (Inline or Computed). Defaults to Computed.
Public propertyTarget
Gets or sets the assert target
(Inherited from BaseControlAssertT.)
Top
Methods

  NameDescription
Protected methodAssert(Boolean, String, String, String)
Throw AssertException if condition is false.
(Inherited from BaseControlAssertT.)
Protected methodAssert(Boolean, String, String, String, Boolean)
Throw an AssertException if conditiion is false and throwAssert is true.
(Inherited from BaseControlAssertT.)
Protected methodAssertNumber
Common assert for a number
(Inherited from BaseControlAssertT.)
Protected methodAssertString
Commnon assert for strings.
(Inherited from BaseControlAssertT.)
Public methodBox(HtmlStyleBox, String)
Assert Box styles.
Public methodBox(HtmlStyleBox, String, HtmlStyleType)
Assert Box styles.
Public methodBox(HtmlStyleBox, String, HtmlStyleType, StringCompareType)
Assert Box styles.
Public methodColorAndBackground(HtmlStyleColorAndBackground, String)
Assert Color/Background styles.
Public methodColorAndBackground(HtmlStyleColorAndBackground, String, HtmlStyleType)
Assert Color/Background styles.
Public methodColorAndBackground(HtmlStyleColorAndBackground, String, HtmlStyleType, StringCompareType)
Assert Color/Background styles.
Public methodDisplay(HtmlStyleDisplay, String)
Assert Display styles.
Public methodDisplay(HtmlStyleDisplay, String, HtmlStyleType)
Assert Display styles.
Public methodDisplay(HtmlStyleDisplay, String, HtmlStyleType, StringCompareType)
Assert Display styles.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFont(HtmlStyleFont, String)
Assert Font styles.
Public methodFont(HtmlStyleFont, String, HtmlStyleType)
Assert Font styles.
Public methodFont(HtmlStyleFont, String, HtmlStyleType, StringCompareType)
Assert Font styles.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodList(HtmlStyleList, String)
Assert List styles.
Public methodList(HtmlStyleList, String, HtmlStyleType)
Assert List styles.
Public methodList(HtmlStyleList, String, HtmlStyleType, StringCompareType)
Assert List styles.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodText(HtmlStyleText, String)
Assert Text styles.
Public methodText(HtmlStyleText, String, HtmlStyleType)
Assert Text styles.
Public methodText(HtmlStyleText, String, HtmlStyleType, StringCompareType)
Assert Text styles.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference