Class UiObjectDescription

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

public class UiObjectDescription extends UiObjectDescriptionBase
The description of a WPF UiObject test object.
  • Constructor Details

    • UiObjectDescription

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

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

    • setName

      public void setName(String name)
      Sets the name of the object.
      Parameters:
      name - the name of this object
    • setName

      public void setName(StringProperty name)
      Sets the name of the object.
      Parameters:
      name - a StringProperty(or RegExpProperty) representing the name of the object.
    • getName

      public StringProperty getName()
      Returns the name of this object.
      Returns:
      name of the object.
    • setParentText

      public void setParentText(String parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - the text to associate with the parent object
    • setParentText

      public void setParentText(StringProperty parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - a StringProperty or RegExpProperty
    • getParentText

      public StringProperty getParentText()
      Return the text associated with the parent object of the object.
      Returns:
      parentText the text associated with the parent