Assert the content of an HtmlControl
Inheritance Hierarchy
ArtOfTest.WebAii.ControlsBaseControlAssertHtmlControl
ArtOfTest.WebAii.Controls.HtmlControls.HtmlAssertsAssertContent
Namespace: ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The AssertContent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AssertContent |
Create an new AssertContent.
| |
AssertContent(HtmlControl) |
Create a new AssertContent
|
Properties
Name | Description | |
---|---|---|
Target |
Gets or sets the assert target
(Inherited from BaseControlAssertT.) |
Methods
Name | Description | |
---|---|---|
Assert(Boolean, String, String, String) |
Throw AssertException if condition is false.
(Inherited from BaseControlAssertT.) | |
Assert(Boolean, String, String, String, Boolean) |
Throw an AssertException if conditiion is false and throwAssert is true.
(Inherited from BaseControlAssertT.) | |
AssertNumber |
Common assert for a number
(Inherited from BaseControlAssertT.) | |
AssertString |
Commnon assert for strings.
(Inherited from BaseControlAssertT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InnerMarkup |
Assert the InnerMarkup of the element.
| |
InnerText |
Assert the InnerText of the element.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OuterMarkup |
Assert the OuterMarkup of the element.
| |
StartTagContent |
Assert the StartTagContent of the element.
| |
TextContent |
Assert the TextContent of the element.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also