Share this page

com.hp.lft.sdk

## Interface SupportSendKeys

- All Known Subinterfaces:
    Button, Button, Button, Calendar, Calendar, Calendar, CheckBox, CheckBox, CheckBox, ComboBox, ComboBox, ComboBox, Dialog, EditField, EditField, EditField, Editor, Editor, Image, InsightObject, Label, Link, List, ListBox, ListBox, ListView, ListView, Menu, ProgressBar, PropertyGrid, RadioButton, RadioButton, RadioButton, ScrollBar, ScrollBar, ScrollBar, Slider, SpinBox, SpinBox, Static, StatusBar, StatusBar, StatusBar, TabControl, TabControl, Table, Table, TabStrip, ToolBar, ToolBar, ToolBar, TreeView, TreeView, TreeView, UiObject, UiObject, UiObject, UiObjectBase, UiObjectBase, UiObjectBase, UiObjectBase, UiObjectWithLayoutInfo, Window, Window, Window

      public interface SupportSendKeys

  A test object that supports the `sendKeys` method.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `sendKeys(java.lang.String input)` Types the specified string into the object in the application, including special keys.
    `void` | `sendKeys(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.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: