Package com.hp.lft.sdk.stdwin
Interface UiObjectBase
- All Superinterfaces:
Clickable
,DoubleClickable
,EnabledProvider
,LocationInfoProvider
,SupportDragAndDrop
,SupportSendKeys
,UiObjectBase
,VisibleProvider
,WaitUntilEnabledProvider
,WaitUntilVisibleProvider
- All Known Subinterfaces:
Button
,Calendar
,CheckBox
,ComboBox
,Dialog
,EditField
,Editor
,ListBox
,ListView
,RadioButton
,ScrollBar
,SpinBox
,Static
,StatusBar
,TabControl
,ToolBar
,TreeView
,UiObject
,UiObjectWithLayoutInfo
,Window
Base interface for all standard Windows test objects.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the object's name.Returns the static text attached to the object.getText()
Returns the text associated with the object.Returns the permanent part of the MFC window class.Returns the extended window style of the object.long
Returns the extended window style of the object as long.int
Returns the object's window identifier.Returns the window style of the object.long
Returns the window style of the object as long.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.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMove
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
-
getAccessibleName
Returns the object's name. Available for windowless objects only.- Returns:
- the object's name. Available for windowless objects only.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getAttachedText
Returns the static text attached to the object.- Returns:
- the static text attached to the object.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getText
Returns the text associated with the object.- Returns:
- the text associated with the object.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getWindowExtendedStyle
Returns the extended window style of the object. Possible values:WindowExtendedStyles
- Returns:
- the extended window style of the object. Possible values:
WindowExtendedStyles
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getWindowExtendedStyleAsLong
Returns the extended window style of the object as long.- Returns:
- the extended window style of the object as long.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getWindowStyle
Returns the window style of the object. Possible values:WindowStyles
- Returns:
- the window style of the object. Possible values:
WindowStyles
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getWindowStyleAsLong
Returns the window style of the object as long.- Returns:
- the window style of the object as long.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getWindowClassRegExp
Returns the permanent part of the MFC window class.- Returns:
- the permanent part of the MFC window class.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getWindowId
Returns the object's window identifier.- Returns:
- the object's window identifier.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-