The base object for all controls.
Inheritance Hierarchy
ArtOfTest.WebAii.ControlsControl
ArtOfTest.WebAii.Controls.HtmlControlsHtmlControl
Namespace: ArtOfTest.WebAii.Controls
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The Control type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Control |
Create new control.
| |
Control(Element) |
Create new control and assigns it a base element.
|
Properties
Name | Description | |
---|---|---|
BaseElement |
Gets the DOM element representing this test control
| |
IsRefresh |
Gets whether the control is executing a Refresh call.
| |
Locator |
Gets the FindParam that describes this control.
The base Control returns null.
| |
LocatorExpression |
Returns the FindExpression for this control. Since this is a abstract base class it always returns null.
| |
OwnerBrowser |
Gets the owner browser that owns this control.
| |
ThrowOnInvalidAssignment |
Gets whether the control should throw on invalid assignments
|
Methods
Name | Description | |
---|---|---|
AssignElement |
Assign this control a base element. Performs any initialization for this control.
| |
AssignFailed |
Mark the assignment to failed. Throw if the framework is set for throwing.
| |
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.) | |
GetFamilyElement |
Finds the nth parent/child of the specified element.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MatchControl |
Given a FindParam this method returns true/false whether this FindParam matches the passed in
element.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Refresh |
Refresh this control within the current DOM and update this control property values.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also