com.hp.lft.sdk

Interface SupportSendKeys

    • Method Summary

      Modifier and TypeMethod and Description
      voidsendKeys(java.lang.String input)
      Types the specified string into the object in the application, including special keys.
      voidsendKeys(java.lang.String input, java.util.EnumSet<KeyModifier> modifiers)
      Types the specified string into the object in the application, including special keys or key modifiers.
    • Method Detail

      • sendKeys

        void sendKeys(java.lang.String input,
                      java.util.EnumSet<KeyModifier> modifiers)
               throws GeneralLeanFtException
        Types the specified string into the object in the application, including special keys or key modifiers.
        Parameters:
        input - the string to type in the object. The string can include constants from the Keys class, which represent keyboard keys.
        modifiers - key modifiers (such as Ctrl, Shift, Alt, or Windows) to be pressed and held while the specified string is entered.
        The keys are released when the SendKeys step is finished.
        Possible values: KeyModifier
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • sendKeys

        void sendKeys(java.lang.String input)
               throws GeneralLeanFtException
        Types the specified string into the object in the application, including special keys.
        Parameters:
        input - the string to type in the object. The string can include constants from the Keys class, which represent keyboard keys.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.