HtmlEdit Class
Represents an HTML edit control for testing the user interface (UI) of Web pages.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlEdit
Namespace: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class HtmlEdit _
Inherits HtmlControl
[CLSCompliantAttribute(true)]
public class HtmlEdit : HtmlControl
[CLSCompliantAttribute(true)]
public ref class HtmlEdit : public HtmlControl
[<CLSCompliantAttribute(true)>]
type HtmlEdit =
class
inherit HtmlControl
end
public class HtmlEdit extends HtmlControl
The HtmlEdit type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HtmlEdit() | Initializes a new instance of the HtmlEdit class. | |
HtmlEdit(UITestControl) | Initializes a new instance of the HtmlEdit class by using the provided parent control. |
Top
Properties
Name | Description | |
---|---|---|
AccessKey | Gets the value of the AccessKey attribute of this control. (Inherited from HtmlControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
Class | Gets the value of the Class attribute of this control. (Inherited from HtmlControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlDefinition | Gets the definition of the control in the HTML page. (Inherited from HtmlControl.) | |
ControlType | (Inherited from UITestControl.) | |
CopyPastedText | Gets the text content of this edit control by using copy and paste. | |
DefaultText | Gets the default text of this edit control. | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the value of the HelpText attribute of this control. (Inherited from HtmlControl.) | |
Id | Gets the value of the ID attribute of this control. (Inherited from HtmlControl.) | |
InnerText | Gets the text content of this control. (Inherited from HtmlControl.) | |
IsPassword | Gets a value that indicates whether this edit control is a password control. | |
IsTopParent | (Inherited from UITestControl.) | |
LabeledBy | Gets the text of the label of this control. | |
Left | (Inherited from UITestControl.) | |
MaxLength | Gets the maximum length of the content of this edit control. | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
Password | Gets the encoded content of this edit control. | |
ReadOnly | Gets a value that indicates whether this edit control is read-only. | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
State | (Inherited from UITestControl.) | |
TagInstance | Gets the index of the control in the collection of controls on the page that has the same tag name. (Inherited from HtmlControl.) | |
TagName | Gets the tag name of this control. (Inherited from HtmlControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
Text | Gets the contents of this edit control. | |
Title | Gets the value of the Title attribute of this control. (Inherited from HtmlControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Type | Gets the value of the Type attribute of this control. (Inherited from HtmlControl.) | |
ValueAttribute | Gets the value of the Value attribute of this control. (Inherited from HtmlControl.) | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace