Package com.hp.lft.sdk.uiapro
Interface UiObjectBase
- All Superinterfaces:
Clickable
,DoubleClickable
,SupportSendKeys
,TestObject
,TestObjectDescriber
,TopLevelObject
- All Known Subinterfaces:
AppBar
,Button
,Calendar
,CheckBox
,ComboBox
,Document
,Edit
,Grid
,GridItem
,Group
,Header
,HeaderItem
,Image
,Link
,List
,ListItem
,Menu
,MenuBar
,MenuItem
,Pane
,ProgressBar
,RadioButton
,ScrollBar
,SemanticZoom
,Separator
,Slider
,Spinner
,SplitButton
,StatusBar
,TabControl
,TabItem
,Table
,Text
,Thumb
,TitleBar
,ToolBar
,ToolTip
,TreeView
,TreeViewItem
,UiObject
,Window
Base interface of all UIAPro test objects
-
Method Summary
Methods inherited from interface com.hp.lft.sdk.uiapro.DoubleClickable
doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
-
Method Details
-
getX
- Returns:
- The object's x-coordinate (left) relative to the parent object (in pixels).
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getY
- Returns:
- The object's y-coordinate (top) relative to the parent object (in pixels).
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getAbsX
- Returns:
- The object's absolut x-coordinate (left) relative to the parent object (in pixels).
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getAbsY
- Returns:
- The object's absolute y-coordinate (top) relative to the parent object (in pixels).
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getWidth
- Returns:
- The object's width (in pixels).
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getHeight
- Returns:
- The object's height (in pixels).
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getProcessName
- Returns:
- The UIAutomation object process name.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getProcessId
- Returns:
- The UIAutomation object process id.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
hasKeyboardFocus
- Returns:
- Indicates whether the object has keyboard focus.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getHandle
- Returns:
- The run-time object's window handle.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
isEnabled
- Returns:
- Indicates whether the object is enabled.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
isKeyboardFocusable
- Returns:
- Indicates whether the object can accept keyboard focus.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
isOffScreen
- Returns:
- Indicates whether the object is Offscreen.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
isPassword
- Returns:
- Indicates whether the object contains protected content or a password.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getStatus
- Returns:
- Describes the status of the current object. For example,an item associated with a contact in a messaging application might be "Busy" or "Connected".
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getAcceleratorKey
- Returns:
- The sequence of key combinations that invoke an action associated with the element.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getAccessKey
- Returns:
- The character that is used to activate the object.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getAutomationId
- Returns:
- The ID for an object that is unique among siblings within its container.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getControlType
- Returns:
- The UIAPro type for the object.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getFrameworkId
- Returns:
- The name of the UI framework, such as Win32, WinForm, or DirectUI.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getSupportedPatterns
- Returns:
- The list of patterns supported for the test object.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getPath
- Returns:
- The path in the application's object hierarchy, separated by semicolons, Objects in the path are represented by their name or automationId property values.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getNativeClass
- Returns:
- The class name assigned to the test object.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getName
- Returns:
- The name of the control.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getExpandCollapsePattern
- Returns:
- The expand collapse pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getGridItemPattern
- Returns:
- The grid item pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getGridPattern
- Returns:
- The grid pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getInvokePattern
- Returns:
- The invoke pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getLegacyIAccessiblePattern
- Returns:
- The legacy accessible pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getRangeValuePattern
- Returns:
- The range value pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getScrollItemPattern
- Returns:
- The scroll item pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getScrollPattern
- Returns:
- The scroll pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getSelectionItemPattern
- Returns:
- The selection item pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getSelectionPattern
- Returns:
- The selection pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getTableItemPattern
- Returns:
- The table item pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getTablePattern
- Returns:
- The table pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getTextPattern
- Returns:
- The text pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getTogglePattern
- Returns:
- The toggle pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getValuePattern
- Returns:
- The value pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-
getWindowPattern
- Returns:
- The window pattern, providing access to the relevant methods and properties.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-