Assert methods for an HtmlSelect control
Inheritance Hierarchy
ArtOfTest.WebAii.ControlsBaseControlAssertHtmlSelect
ArtOfTest.WebAii.Controls.HtmlControls.HtmlAssertsAssertSelect
Namespace: ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The AssertSelect type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AssertSelect |
Create a new AssertSelect object.
| |
AssertSelect(HtmlSelect) |
Create a new AssertSelect object and assign it to an existing control.
| |
AssertSelect(HtmlSelect, Boolean) |
Create a new AssertSelect object and assign it to an existing control.
|
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.) | |
ItemsCountIs |
Assert if the number of options in this HtmlSelect does not match.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SelectedIndex |
Assert if the selected index does not match.
| |
SelectedText |
Assert if the selected text does not match.
| |
SelectedValue |
Assert if the selected value does not match.
| |
TextExists |
Assert if a particular text value does not exist in the HtmlSelect options list.
| |
TextExistsNot |
Assert if a particular text value does exist in the HtmlSelect options list.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValueExists |
Assert if a particular option value does not exist in the HtmlSelect options list.
| |
ValueExistsNot |
Assert if a particular option value does exist in the HtmlSelect options list.
|
See Also