EditFieldDescription Class
The description of a Web EditField test object.
C# Syntax
public class EditFieldDescription : EditFieldBaseDescription, HP.LFT.SDK.IDescription  
Example
//Use "Assert" to verify that a logon field is editable. 
var userName = browser.Describe<IEditField>(new EditFieldDescription
{
    Name = @"userName"
});
Verify.IsFalse(userName.IsReadOnly, "Doc_Web_VerifyNotReadOnly_Small", "Verify 'userName' field is not read only.");
// This example locates an Image in a browser
IImage tip = browser.Describe<IImage>(new ImageDescription
{
    Alt = As.RegExp(@"Tip.*"),
    Type = HP.LFT.SDK.Web.ImageType.Normal,
    TagName = @"IMG"
});
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.PropertiesDescription
      HP.LFT.SDK.Description
         HP.LFT.SDK.Web.WebBaseDescription
            HP.LFT.SDK.Web.WebElementDescription
               HP.LFT.SDK.Web.FormFieldDescription
                  HP.LFT.SDK.Web.EditFieldBaseDescription
                     HP.LFT.SDK.Web.EditFieldDescription
                        HP.LFT.SDK.SAP.UI5.EditFieldDescription
                        HP.LFT.SDK.Web.NumericFieldDescription

Public Constructors
  Name Description
Public Constructor EditFieldDescription Constructor  Initializes a new instance of the EditFieldDescription class.  
Top
Public Properties
  Name Description
Public Property AbsoluteLocation The object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property AccessibilityName The label of the object (where no text label is available). (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Public Property Attributes Describes the object by its DOM attributes. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property ClassName The object's CSS class (className property). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property CSSSelector The path to the object in CSS format, for example, tr.BPTRow input. (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Public Property DefaultValue The initial value of the object, which is set when the object is reset.  
Public Property Id The object's HTML identifier. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property Index The 0-based index of this object, relative to all other objects with an otherwise identical description. (Inherited from HP.LFT.SDK.Description )
Public Property InnerHTML The HTML code contained between the object's start and end tags. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property InnerText The text contained between the object's start and end tags. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property IsReadOnly Indicates whether the object is read-only. Null if indeterminate. (Inherited from HP.LFT.SDK.Web.EditFieldBaseDescription )
Public Property IsRequired Indicates whether the field is mandatory. Null if indeterminate. (Inherited from HP.LFT.SDK.Web.EditFieldBaseDescription )
Public Property IsVisible Indicates whether the object is visible. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property Location The object's coordinates relative to the parent window (in pixels). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property MaxCharsInLine The maximum number of characters per line in an edit field. (Inherited from HP.LFT.SDK.Web.EditFieldBaseDescription )
Public Property MaxLength The maximum text length.  
Public Property Name The object's name property. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property OuterHTML The object's HTML code and its content. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property OuterText The object's text. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property Pattern The regular expression pattern defined for the edit box, which controls the values that the edit box will accept.  
Public Property Placeholder The hint text that is displayed in the edit box until a value is entered into it. (Inherited from HP.LFT.SDK.Web.EditFieldBaseDescription )
Public Property Role Property displaying the function of the specified object. For example, if the role property is listbox, the object functions as a listbox. (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Public Property RowsCount The number of rows in the object.  
Public Property Size The object's size (in pixels). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property Styles Describes the object by its computed style. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property TagName The object's HTML tag. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property Title The object's title. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public Property Type The type of object as defined in the HTML input tag. (Inherited from HP.LFT.SDK.Web.FormFieldDescription )
Public Property Value The currently displayed text in the field. (Inherited from HP.LFT.SDK.Web.EditFieldBaseDescription )
Public Property Vri Distinguishes this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application. (Inherited from HP.LFT.SDK.Description )
Public Property XPath The path to the object in XPath format, for example, //TR[@id='LeanFT']/*/INPUT (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Top
Public Methods
  Name Description
Public Method Clone Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )
Top