Package com.hp.lft.sdk
Interface SupportSendKeys
- All Known Subinterfaces:
AppBar
,Button
,Button
,Button
,Button
,Button
,Calendar
,Calendar
,Calendar
,Calendar
,CheckBox
,CheckBox
,CheckBox
,CheckBox
,CheckBox
,ComboBox
,ComboBox
,ComboBox
,ComboBox
,ComboBox
,Dialog
,Document
,Edit
,EditField
,EditField
,EditField
,EditField
,Editor
,Editor
,Grid
,GridItem
,Group
,Header
,HeaderItem
,Image
,Image
,InsightObject
,Label
,Link
,Link
,List
,List
,ListBox
,ListBox
,ListBox
,ListItem
,ListView
,ListView
,ListView
,Menu
,Menu
,MenuBar
,MenuItem
,Pane
,ProgressBar
,ProgressBar
,PropertyGrid
,RadioButton
,RadioButton
,RadioButton
,RadioButton
,RadioButton
,ScrollBar
,ScrollBar
,ScrollBar
,ScrollBar
,ScrollBar
,SemanticZoom
,Separator
,Slider
,Slider
,SpinBox
,SpinBox
,Spinner
,SplitButton
,Static
,StatusBar
,StatusBar
,StatusBar
,StatusBar
,TabControl
,TabControl
,TabControl
,TabControl
,TabItem
,Table
,Table
,Table
,Table
,TabStrip
,Text
,Thumb
,TitleBar
,ToolBar
,ToolBar
,ToolBar
,ToolBar
,ToolBar
,ToolTip
,TreeView
,TreeView
,TreeView
,TreeView
,TreeView
,TreeViewItem
,UiObject
,UiObject
,UiObject
,UiObject
,UiObject
,UiObjectBase
,UiObjectBase
,UiObjectBase
,UiObjectBase
,UiObjectBase
,UiObjectBase
,UiObjectWithLayoutInfo
,UiObjectWithLayoutInfo
,Window
,Window
,Window
,Window
,Window
public interface SupportSendKeys
A test object that supports the
sendKeys
method.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Types the specified string into the object in the application, including special keys.void
sendKeys
(String input, EnumSet<KeyModifier> modifiers) Types the specified string into the object in the application, including special keys or key modifiers.
-
Method Details
-
sendKeys
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 theKeys
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 error occurs during execution
-
sendKeys
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 theKeys
class, which represent keyboard keys.- Throws:
GeneralLeanFtException
- if error occurs during execution
-