com.hp.lft.sdk

Interface TestObjectDescriber

    • Method Summary

      Modifier and Type Method and Description
      <TChild extends TestObject>
      TChild
      describe(java.lang.Class<TChild> type, Description description)
      Creates a child test object of this test object.
    • Method Detail

      • describe

        <TChild extends TestObject> TChild describe(java.lang.Class<TChild> type,
                                                    Description description)
                                             throws GeneralLeanFtException
        Creates a child test object of this test object.
        This operation does not cause LeanFT to search for the object in the AUT. LeanFT interacts with the application only when a step runs that performs an operation on the AUT object.
        Type Parameters:
        TChild - the generic type of the child test object.
        Parameters:
        type - the test object interface type.
        description - a Description containing the set of properties and values that uniquely identify this object in the AUT.
        Returns:
        The new child test object with the provided description.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.