Open topic with navigation

com.hp.lft.sdk.te

## Interface Window

- All Superinterfaces:
    TestObject, TestObjectDescriber, TopLevelObject

      public interface Window
      extends TopLevelObject

  A terminal emulator window.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `activate()` Activates the Terminal Emulator window.
    `void` | `activate(MouseButton button)` Activates the Terminal Emulator window.
    `EmulatorStatus` | `getEmulatorStatus()` Returns the Terminal Emulator status.
    `int` | `getHandle()` Returns the Terminal Emulator window handle.
    `Protocol` | `getProtocol()` Returns the Terminal Emulator protocol.
    `java.lang.String` | `getShortName()` Returns the Terminal Emulator short name.

    - ### Methods inherited from interface com.hp.lft.sdk.TestObject

      `exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber

      `describe`

- - ### Method Detail

    - #### getHandle

          int getHandle()
                 throws GeneralLeanFtException

      Returns the Terminal Emulator window handle.
      Returns:
        Terminal Emulator window handle.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getEmulatorStatus

                                                      EmulatorStatus getEmulatorStatus()
                                    throws GeneralLeanFtException

      Returns the Terminal Emulator status.
      Returns:
        Terminal Emulator status. Possible values: `EmulatorStatus`
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getProtocol

                                                      Protocol getProtocol()
                        throws GeneralLeanFtException

      Returns the Terminal Emulator protocol.
      Returns:
        Terminal Emulator protocol. Possible values: `Protocol`
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getShortName

          java.lang.String getShortName()
                                 throws GeneralLeanFtException

      Returns the Terminal Emulator short name.
      Returns:
        Terminal Emulator short name.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### activate

          void activate(MouseButton button)
                 throws GeneralLeanFtException

      Activates the Terminal Emulator window.
      Parameters:
        `button` - the mouse button used for the click operation. Possible values: `MouseButton`
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### activate

          void activate()
                 throws GeneralLeanFtException

      Activates the Terminal Emulator window.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.