Class FrameDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class FrameDescription extends WebBaseDescription
The description of a Web Frame test object.
  • Constructor Details

    • FrameDescription

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

      protected FrameDescription(FrameDescription.Init<?> init)
  • Method Details

    • setUrl

      public void setUrl(StringProperty url)
      Sets the URL of the frame.
      Parameters:
      url - a StringProperty(or RegExpProperty) representing the URL of the frame.
    • setUrl

      public void setUrl(String url)
      Sets the URL of the frame.
      Parameters:
      url - the URL of the frame.
    • getUrl

      public StringProperty getUrl()
      Returns the URL of the frame.
      Returns:
      the URL of the frame.
    • setText

      public void setText(StringProperty text)
      Sets the inner text of the body element.
      Parameters:
      text - a StringProperty(or RegExpProperty) representing the inner text of the body element.
    • setText

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

      public StringProperty getText()
      Returns the inner text of the body element.
      Returns:
      the inner text of the body element.