Package com.hp.lft.sdk.wpf
Class UiObjectDescriptionBase
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.wpf.UiObjectDescriptionBase
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
- Direct Known Subclasses:
- ButtonDescription,- CalendarDescription,- CheckBoxDescription,- ComboBoxDescription,- EditFieldDescription,- ImageDescription,- LinkDescription,- ListDescription,- MenuDescription,- ProgressBarDescription,- RadioButtonDescription,- ScrollBarDescription,- SliderDescription,- StatusBarDescription,- TableDescription,- TabStripDescription,- ToolBarDescription,- TreeViewDescription,- UiObjectDescription,- WindowDescription
The base description of all WPF 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 UiObjectDescriptionBase class.protected
- 
Method SummaryModifier and TypeMethodDescriptioncanFocus()Indicates whether the object can receive the focus.Returns the object's absolute coordinates relative to the screen (in pixels).Returns the attached text associated with the object.Returns the full hierarchy of ObjectName with all parent objects.Returns the full type name of the object.Returns the object's coordinates relative to the parent window (in pixels).Returns the object's window class name.Returns the object's name as set by the developer.getSize()Returns the test object's size (in pixels).getText()Returns the text associated with the object.Returns the constant part of the window title.Indicates whether the object is enabled.Indicates whether the object has the focus.Indicates whether the current element is visible.voidsetAbsoluteLocation(LocationProperty absLocation) Sets the object's absolute coordinates relative to the screen (in pixels).voidsetAbsoluteLocation(Point absLocation) Sets the object's absolute coordinates relative to the screen (in pixels).voidsetAbsoluteLocation(Integer absX, Integer absY) Sets the object's absolute coordinates relative to the screen (in pixels).voidsetAttachedText(StringProperty attachedText) Sets the attached text associated with the object.voidsetAttachedText(String attachedText) Sets the attached text associated with the object.voidsetCanFocus(Boolean canFocus) Sets whether the object can receive the focus.voidsetEnabled(Boolean isEnabled) Sets whether the object is enable.voidsetFocused(Boolean isFocused) Sets whether the object has the focus.voidsetFullNamePath(StringProperty fullNamePath) Sets the full hierarchy of ObjectName with all parent objects.voidsetFullNamePath(String fullNamePath) Sets the full hierarchy of ObjectName with all parent objects.voidsetFullType(StringProperty fullType) Sets the full type name of the object.voidsetFullType(String fullType) Sets the full type name of the object.voidsetLocation(LocationProperty location) Sets the object's coordinates relative to the parent window (in pixels).voidsetLocation(Point location) Sets the object's coordinates relative to the parent window (in pixels).voidsetLocation(Integer x, Integer y) Sets the object's coordinates relative to the parent window (in pixels).voidsetNativeClass(StringProperty nativeClass) Sets the object's window class name.voidsetNativeClass(String nativeClass) Sets object's window class name.voidsetObjectName(StringProperty objectName) Sets the object's window class name.voidsetObjectName(String objectName) Sets the object's name as set by the developer.voidsetSize(SizeProperty size) Sets the test object's size (in pixels).voidSets the test object's size (in pixels).voidSets the test object's size (in pixels).voidsetText(StringProperty text) Sets the text associated with the object.voidSets the text associated with the object.voidsetVisible(Boolean isVisible) Sets the visibility state of the test object.voidsetWindowTitleRegExp(StringProperty windowTitleRegExp) Sets the constant part of the window title.voidsetWindowTitleRegExp(String windowTitleRegExp) Sets the constant part of the window title.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- 
UiObjectDescriptionBasepublic UiObjectDescriptionBase()Initializes a new instance of the UiObjectDescriptionBase class.
- 
UiObjectDescriptionBase
 
- 
- 
Method Details- 
setNativeClassSets object's window class name.- Parameters:
- nativeClass- object's window class name.
 
- 
setNativeClassSets the object's window class name.- Parameters:
- nativeClass- a StringProperty (or RegExpProperty) representing the the object's window class name.
 
- 
getNativeClassReturns the object's window class name.- Returns:
- the object's window class name.
 
- 
setEnabledSets whether the object is enable.- Parameters:
- isEnabled- whether the object is enable
 
- 
isEnabledIndicates whether the object is enabled.- Returns:
- true, if the current element is enabled.
 
- 
setFocusedSets whether the object has the focus.- Parameters:
- isFocused- whether the object has the focus.
 
- 
isFocusedIndicates whether the object has the focus.- Returns:
- true, if the current element is focused.
 
- 
setWindowTitleRegExpSets the constant part of the window title.- Parameters:
- windowTitleRegExp- constant part of the window title.
 
- 
setWindowTitleRegExpSets the constant part of the window title.- Parameters:
- windowTitleRegExp- constant part of the window title.
 
- 
getWindowTitleRegExpReturns the constant part of the window title.- Returns:
- the constant part of the window title.
 
- 
setVisibleSets the visibility state of the test object.- Parameters:
- isVisible- the visibility state of the test object.
 
- 
isVisibleIndicates whether the current element is visible.- Returns:
- true, if the current element is visible.
 
- 
setCanFocusSets whether the object can receive the focus.- Parameters:
- canFocus- whether the object can receive the focus.
 
- 
canFocusIndicates whether the object can receive the focus.- Returns:
- true, if the object can receive the focus.
 
- 
setTextSets the text associated with the object.- Parameters:
- text- the text associated with the object.
 
- 
setTextSets the text associated with the object.- Parameters:
- text- a StringProperty (or RegExpProperty) representing the text associated with the object.
 
- 
getTextReturns the text associated with the object.- Returns:
- the text associated with the object.
 
- 
setAttachedTextSets the attached text associated with the object.- Parameters:
- attachedText- the attached text associated with the object.
 
- 
setAttachedTextSets the attached text associated with the object.- Parameters:
- attachedText- a StringProperty (or RegExpProperty) representing the attached text.
 
- 
getAttachedTextReturns the attached text associated with the object.- Returns:
- the attached text associated with the object.
 
- 
setLocationSets the object's coordinates relative to the parent window (in pixels).- Parameters:
- location- a LocationProperty representing the object's coordinates relative to the parent window (in pixels).
 
- 
setLocationSets the object's coordinates relative to the parent window (in pixels).- Parameters:
- x- the X coordinate of the test object location.
- y- the Y coordinate of the test object location.
 
- 
setLocationSets the object's coordinates relative to the parent window (in pixels).- Parameters:
- location- a Point representing the object's coordinates relative to the parent window (in pixels).
 
- 
getLocationReturns the object's coordinates relative to the parent window (in pixels).- Returns:
- the object's coordinates relative to the parent window (in pixels).
 
- 
setAbsoluteLocationSets the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
- absLocation- a LocationProperty representing the object's absolute coordinates relative to the screen (in pixels).
 
- 
setAbsoluteLocationSets the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
- absX- the absolute X coordinate of the test object location.
- absY- the absolute Y coordinate of the test object location.
 
- 
setAbsoluteLocationSets the object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.- Parameters:
- absLocation- a Point representing the object's absolute coordinates relative to the screen (in pixels).
 
- 
getAbsoluteLocationReturns the object's absolute coordinates relative to the screen (in pixels).- Returns:
- the object's absolute coordinates relative to the screen (in pixels).
 
- 
setSizeSets the test object's size (in pixels).- Parameters:
- size- the test object's size (in pixels).
 
- 
setSizeSets the test object's size (in pixels).- Parameters:
- size- the test object's size (in pixels).
 
- 
setSizeSets the test object's size (in pixels).- Parameters:
- width- the width of the test object (in pixels).
- height- the height of the test object (in pixels).
 
- 
getSizeReturns the test object's size (in pixels).- Returns:
- the test object's size (in pixels).
 
- 
setObjectNameSets the object's name as set by the developer.- Parameters:
- objectName- the object's name as set by the developer.
 
- 
setObjectNameSets the object's window class name.- Parameters:
- objectName- the object's name as set by the developer.
 
- 
getObjectNameReturns the object's name as set by the developer.- Returns:
- the object's name as set by the developer.
 
- 
setFullNamePathSets the full hierarchy of ObjectName with all parent objects.- Parameters:
- fullNamePath- the full hierarchy of ObjectName with all parent objects.
 
- 
setFullNamePathSets the full hierarchy of ObjectName with all parent objects.- Parameters:
- fullNamePath- the full hierarchy of ObjectName with all parent objects.
 
- 
getFullNamePathReturns the full hierarchy of ObjectName with all parent objects.- Returns:
- the full hierarchy of ObjectName with all parent objects.
 
- 
setFullTypeSets the full type name of the object.- Parameters:
- fullType- the full type name of the object.
 
- 
setFullTypeSets the full type name of the object.- Parameters:
- fullType- the full type name of the object.
 
- 
getFullTypeReturns the full type name of the object.- Returns:
- the full type name of the object.
 
 
-