Class HeaderDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class HeaderDescription extends WebElementDescription
The description of an SAPUI5 Header test object.
  • Constructor Details

    • HeaderDescription

      public HeaderDescription()
      Initializes a new instance of the HeaderDescription class.
    • HeaderDescription

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

    • setText

      public void setText(StringProperty text)
      Sets the text of the header using a string property.
      Parameters:
      text - a StringProperty(or RegExpProperty) representing the text of the header.
    • setText

      public void setText(String text)
      Sets the text of the header.
      Parameters:
      text - the text of the header.
    • getText

      public StringProperty getText()
      Returns the text of the header.
      Returns:
      The text of the header.