Package com.hp.lft.sdk.uiapro
Class UiObjectBaseDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.uiapro.UiObjectBaseDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
- Direct Known Subclasses:
- AppBarDescription,- ButtonDescription,- CalendarDescription,- CheckBoxDescription,- ComboBoxDescription,- DocumentDescription,- EditDescription,- GridDescription,- GridItemDescription,- GroupDescription,- HeaderDescription,- HeaderItemDescription,- ImageDescription,- LinkDescription,- ListDescription,- ListItemDescription,- MenuBarDescription,- MenuDescription,- MenuItemDescription,- PaneDescription,- ProgressBarDescription,- RadioButtonDescription,- ScrollBarDescription,- SemanticZoomDescription,- SeparatorDescription,- SliderDescription,- SpinnerDescription,- SplitButtonDescription,- StatusBarDescription,- TabControlDescription,- TabItemDescription,- TableDescription,- TextDescription,- ThumbDescription,- TitleBarDescription,- ToolBarDescription,- ToolTipDescription,- TreeViewDescription,- TreeViewItemDescription,- UiObjectDescription,- WindowDescription
The base description of all UIAPro test objects.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from class com.hp.lft.sdk.DescriptionBaseDescriptionBase.Builder
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the UiObjectBaseDescription class.protected
- 
Method SummaryModifier and TypeMethodDescriptiongetAbsX()getAbsY()getName()Returns the object's name.Returns the object's window class name.getPath()String[]getWidth()getX()getY()voidSet the object's absolute x-coordinate (left) relative to the parent object (in pixels).voidSet the object's absolute y-coordinate (top) relative to the parent object (in pixels).voidsetAcceleratorKey(StringProperty acceleratorKey) Set the sequence of key combinations that invoke an action associated with the element.voidsetAcceleratorKey(String acceleratorKey) Set the sequence of key combinations that invoke an action associated with the element.voidsetAccessKey(StringProperty accessKey) Set the character that is used to activate the object.voidsetAccessKey(String accessKey) Set the character that is used to activate the object.voidsetAutomationId(StringProperty automationId) Set the ID for an object that is unique among siblings within its container.voidsetAutomationId(String automationId) Set the ID for an object that is unique among siblings within its container.voidsetControlType(StringProperty controlType) Set the UIAPro type for the object.voidsetControlType(String controlType) Set the UIAPro type for the object.voidsetEnabled(Boolean isEnabled) Set Indicates whether the object is enabled.voidsetFrameworkId(StringProperty frameworkId) Set the name of the UI framework, such as Win32, WinForm, or DirectUI.voidsetFrameworkId(String frameworkId) Set the name of the UI framework, such as Win32, WinForm, or DirectUI.voidSet the run-time object's window handle.voidSet the object's height (in pixels).voidsetKeyboardFocus(Boolean hasKeyboardFocus) Set Indicates whether the object has keyboard focus.voidsetKeyboardFocusable(Boolean isKeyboardFocusable) Set Indicates whether the object can accept keyboard focus.voidsetName(StringProperty name) Set the object's name.voidSet the object's name.voidsetNativeClass(StringProperty nativeClass) Set the object's window class name.voidsetNativeClass(String nativeClass) Set the object's window class name.voidsetOffScreen(Boolean isOffScreen) Set Indicates whether the object is Offscreen.voidsetPassword(Boolean isPassword) Set Indicates whether the object contains protected content or a password.voidsetPath(StringProperty path) Set the path in the application's object hierarchy, separated by semicolons.voidSet the path in the application's object hierarchy, separated by semicolons.voidsetProcessId(Integer processId) Set the UIAutomation object process id.voidsetProcessName(StringProperty processName) Set the UIAutomation object process name.voidsetProcessName(String processName) Set the UIAutomation object process name.voidsetStatus(StringProperty status) Set Describes the status of the current object.voidSet Describes the status of the current object.voidsetSupportedPatterns(String[] supportePatterns) Set the list of patterns supported for the test object.voidSet the object's width (in pixels).voidSet the object's x-coordinate (left) relative to the parent object (in pixels).voidSet the object's y-coordinate (top) relative to the parent object (in pixels).Methods inherited from class com.hp.lft.sdk.DescriptionBasecloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
UiObjectBaseDescriptionpublic UiObjectBaseDescription()Initializes a new instance of the UiObjectBaseDescription class.
- 
UiObjectBaseDescription
 
- 
- 
Method Details- 
getX- Returns:
- The object's x-coordinate (left) relative to the parent object (in pixels).
 
- 
setXSet the object's x-coordinate (left) relative to the parent object (in pixels).- Parameters:
- x- the object's x-coordinate (left)
 
- 
getY- Returns:
- The object's y-coordinate (top) relative to the parent object (in pixels).
 
- 
setYSet the object's y-coordinate (top) relative to the parent object (in pixels).- Parameters:
- y- the object's y-coordinate (left)
 
- 
getAbsX- Returns:
- The object's absolute x-coordinate (left) relative to the parent object (in pixels).
 
- 
setAbsXSet the object's absolute x-coordinate (left) relative to the parent object (in pixels).- Parameters:
- absX- the object's absolut x-coordinate (left)
 
- 
getAbsY- Returns:
- The object's absolute y-coordinate (top) relative to the parent object (in pixels).
 
- 
setAbsYSet the object's absolute y-coordinate (top) relative to the parent object (in pixels).- Parameters:
- absY- the object's absolut y-coordinate (left)
 
- 
getWidth- Returns:
- The object's width (in pixels).
 
- 
setWidthSet the object's width (in pixels).- Parameters:
- width- the object's width (in pixels)
 
- 
getHeight- Returns:
- The object's height (in pixels).
 
- 
setHeightSet the object's height (in pixels).- Parameters:
- height- the object's height (in pixels).
 
- 
getProcessName- Returns:
- The UIAutomation object process name.
 
- 
setProcessNameSet the UIAutomation object process name.- Parameters:
- processName- the UIAutomation object process name.
 
- 
setProcessNameSet the UIAutomation object process name.- Parameters:
- processName- the UIAutomation object process name.
 
- 
getProcessId- Returns:
- The UIAutomation object process id.
 
- 
setProcessIdSet the UIAutomation object process id.- Parameters:
- processId- the UIAutomation object process id.
 
- 
hasKeyboardFocus- Returns:
- Indicates whether the object has keyboard focus.
 
- 
setKeyboardFocusSet Indicates whether the object has keyboard focus.- Parameters:
- hasKeyboardFocus- Indicates whether the object has keyboard focus.
 
- 
getHandle- Returns:
- The run-time object's window handle.
 
- 
setHandleSet the run-time object's window handle.- Parameters:
- handle- the run-time object's window handle.
 
- 
isEnabled- Returns:
- Indicates whether the object is enabled.
 
- 
setEnabledSet Indicates whether the object is enabled.- Parameters:
- isEnabled- Indicates whether the object is enabled.
 
- 
isKeyboardFocusable- Returns:
- Indicates whether the object can accept keyboard focus.
 
- 
setKeyboardFocusableSet Indicates whether the object can accept keyboard focus.- Parameters:
- isKeyboardFocusable- Indicates whether the object can accept keyboard focus.
 
- 
isOffScreen- Returns:
- Indicates whether the object is Offscreen.
 
- 
setOffScreenSet Indicates whether the object is Offscreen.- Parameters:
- isOffScreen- Indicates whether the object is Offscreen.
 
- 
isPassword- Returns:
- Indicates whether the object contains protected content or a password.
 
- 
setPasswordSet Indicates whether the object contains protected content or a password.- Parameters:
- isPassword- Indicates whether the object contains protected content or a password.
 
- 
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".
 
- 
setStatusSet Describes the status of the current object. For example, an item associated with a contact in a messaging application might be "Busy" or "Connected".- Parameters:
- status- Describes the status of the current object.
 
- 
setStatusSet Describes the status of the current object. For example, an item associated with a contact in a messaging application might be "Busy" or "Connected".- Parameters:
- status- Describes the status of the current object.
 
- 
getAcceleratorKey- Returns:
- The sequence of key combinations that invoke an action associated with the element.
 
- 
setAcceleratorKeySet the sequence of key combinations that invoke an action associated with the element.- Parameters:
- acceleratorKey- the sequence of key combinations that invoke an action associated with the element.
 
- 
setAcceleratorKeySet the sequence of key combinations that invoke an action associated with the element.- Parameters:
- acceleratorKey- the sequence of key combinations that invoke an action associated with the element.
 
- 
getAccessKey- Returns:
- The character that is used to activate the object.
 
- 
setAccessKeySet the character that is used to activate the object.- Parameters:
- accessKey- the character that is used to activate the object.
 
- 
setAccessKeySet the character that is used to activate the object.- Parameters:
- accessKey- the character that is used to activate the object.
 
- 
getAutomationId- Returns:
- The ID for an object that is unique among siblings within its container.
 
- 
setAutomationIdSet the ID for an object that is unique among siblings within its container.- Parameters:
- automationId- the ID for an object that is unique among siblings within its container.
 
- 
setAutomationIdSet the ID for an object that is unique among siblings within its container.- Parameters:
- automationId- the ID for an object that is unique among siblings within its container.
 
- 
getControlType- Returns:
- The UIAPro type for the object.
 
- 
setControlTypeSet the UIAPro type for the object.- Parameters:
- controlType- the UIAPro type for the object.
 
- 
setControlTypeSet the UIAPro type for the object.- Parameters:
- controlType- the UIAPro type for the object.
 
- 
getFrameworkId- Returns:
- The name of the UI framework, such as Win32, WinForm, or DirectUI.
 
- 
setFrameworkIdSet the name of the UI framework, such as Win32, WinForm, or DirectUI.- Parameters:
- frameworkId- the name of the UI framework.
 
- 
setFrameworkIdSet the name of the UI framework, such as Win32, WinForm, or DirectUI.- Parameters:
- frameworkId- the name of the UI framework.
 
- 
getSupportedPatterns- Returns:
- The list of patterns supported for the test object.
 
- 
setSupportedPatternsSet the list of patterns supported for the test object.- Parameters:
- supportePatterns- the list of patterns supported for the test object.
 
- 
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.
 
- 
setPathSet the path in the application's object hierarchy, separated by semicolons. Objects in the path are represented by their name or automationId property values.- Parameters:
- path- the path in the application's object hierarchy.
 
- 
setPathSet the path in the application's object hierarchy, separated by semicolons. Objects in the path are represented by their name or automationId property values.- Parameters:
- path- the path in the application's object hierarchy.
 
- 
getNativeClassReturns the object's window class name.- Returns:
- the object's window class name.
 
- 
setNativeClassSet the object's window class name.- Parameters:
- nativeClass- the object's window class name.
 
- 
setNativeClassSet the object's window class name.- Parameters:
- nativeClass- the object's window class name.
 
- 
getNameReturns the object's name.- Returns:
- the object's name.
 
- 
setNameSet the object's name.- Parameters:
- name- the object's name.
 
- 
setNameSet the object's name.- Parameters:
- name- the object's name.
 
 
-