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 TypeMethodDescriptionintThe hWnd of this object's window.This object's window class name.The constant part of this window title.booleanIndicates whether this object is currently in focus.voidMoves the mouse pointer to the specified position inside this object.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods 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- theLocationto place the mouse pointer.- Throws:
GeneralLeanFtException- if error occurs during execution
-