Package com.hp.lft.sdk
Interface UiObjectBase
- All Superinterfaces:
Clickable
,DoubleClickable
,EnabledProvider
,LocationInfoProvider
,SupportDragAndDrop
,SupportSendKeys
,VisibleProvider
,WaitUntilEnabledProvider
,WaitUntilVisibleProvider
- All Known Subinterfaces:
Button
,Button
,Button
,Button
,Calendar
,Calendar
,Calendar
,CheckBox
,CheckBox
,CheckBox
,CheckBox
,ComboBox
,ComboBox
,ComboBox
,ComboBox
,Dialog
,EditField
,EditField
,EditField
,EditField
,Editor
,Editor
,Image
,Label
,Link
,List
,ListBox
,ListBox
,ListBox
,ListView
,ListView
,ListView
,Menu
,ProgressBar
,PropertyGrid
,RadioButton
,RadioButton
,RadioButton
,RadioButton
,ScrollBar
,ScrollBar
,ScrollBar
,ScrollBar
,Slider
,SpinBox
,SpinBox
,Static
,StatusBar
,StatusBar
,StatusBar
,TabControl
,TabControl
,TabControl
,Table
,Table
,Table
,TabStrip
,ToolBar
,ToolBar
,ToolBar
,ToolBar
,TreeView
,TreeView
,TreeView
,TreeView
,UiObject
,UiObject
,UiObject
,UiObject
,UiObjectBase
,UiObjectBase
,UiObjectBase
,UiObjectBase
,UiObjectWithLayoutInfo
,UiObjectWithLayoutInfo
,Window
,Window
,Window
,Window
public interface UiObjectBase
extends Clickable, DoubleClickable, LocationInfoProvider, SupportSendKeys, SupportDragAndDrop, WaitUntilEnabledProvider, WaitUntilVisibleProvider
Base interface for all UiObjects in all technologies.
The UiObjects are the test objects used to identify objects in a technology that do not have a more specific relevant type.
The UiObjects are the test objects used to identify objects in a technology that do not have a more specific relevant type.
-
Method Summary
Modifier and TypeMethodDescriptionint
The hWnd of this object's window.This object's window class name.The constant part of this window title.boolean
Indicates whether this object is currently in focus.void
Moves the mouse pointer to the specified position inside this object.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
Methods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
isFocused
Indicates whether this object is currently in focus.- Returns:
- true if the object is currently in focus, false otherwise.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getNativeClass
This object's window class name.- Returns:
- this object's window class name.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getWindowTitleRegExp
The constant part of this window title.- Returns:
- the constant part of this window title.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getHandle
The hWnd of this object's window.- Returns:
- the hWnd of this object's window.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
mouseMove
Moves the mouse pointer to the specified position inside this object.- Parameters:
moveTo
- theLocation
to place the mouse pointer.- Throws:
GeneralLeanFtException
- if error occurs during execution
-