Class FormFieldDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable
Direct Known Subclasses:
CheckBoxDescription, EditFieldBaseDescription, ListBoxDescription, RadioGroupDescription

public abstract class FormFieldDescription extends WebElementDescription
The description of a base interface for all Web form-related test objects.
  • Constructor Details

    • FormFieldDescription

      protected FormFieldDescription(FormFieldDescription.Init<?> init)
      Initializes a new instance of the FormFieldDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
    • FormFieldDescription

      protected FormFieldDescription()
      Initializes a new instance of the FormFieldDescription class.
  • Method Details

    • setType

      public void setType(StringProperty type)
      Sets the attribute "type" of the HTML element.
      Parameters:
      type - a StringProperty(or RegExpProperty) representing the attribute "type" of the HTML element.
    • setType

      public void setType(String type)
      Sets the type of object as defined in the HTML input tag.
      Parameters:
      type - the type of object as defined in the HTML input tag.
    • getType

      public StringProperty getType()
      Returns the type of object as defined in the HTML input tag.
      Returns:
      the type of object as defined in the HTML input tag.