com.hp.lft.sdk.wpf

Interface UiObjectBase

    • Method Detail

      • getObjectName

        java.lang.String getObjectName()
                                throws GeneralLeanFtException
        Returns the name of this instance.
        For example, for myFoo = new fooBar, the ObjectName is myFoo.
        Returns:
        this object's name
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getFullNamePath

        java.lang.String getFullNamePath()
                                  throws GeneralLeanFtException
        Returns the full hierarchy of this object with all parent objects.
        Returns:
        the full hierarchy
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getAttachedText

        java.lang.String getAttachedText()
                                  throws GeneralLeanFtException
        Returns the static text that is attached to this object.
        Returns:
        the static text
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getObjectProperty

        <TValue> TValue getObjectProperty(java.lang.String propname,
                                          java.lang.Class<TValue> returnType)
                                   throws GeneralLeanFtException
        Returns the value of a test object property.
        This method can return any property of this control, including custom properties declared in a custom control.
        Type Parameters:
        TValue - the generic type of the test object property value.
        Parameters:
        propname - the property name
        returnType - the property type
        Returns:
        the value of the property
        Throws:
        GeneralLeanFtException - if an error occurs during execution.