Package com.hp.lft.sdk.wpf
Interface UiObjectBase
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
- All Known Subinterfaces:
- Button,- Calendar,- CheckBox,- ComboBox,- EditField,- Image,- Link,- List,- Menu,- ProgressBar,- RadioButton,- ScrollBar,- Slider,- StatusBar,- Table,- TabStrip,- ToolBar,- TreeView,- UiObject,- Window
Base interface of all .Net WPF test objects.
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanFocus()Indicates whether this object can receive focus.Returns the static text that is attached to this object.Returns the full hierarchy of this object with all parent objects.Returns the full type name of this object.Returns the name of this instance.
 For example, formyFoo = new fooBar, the ObjectName is myFoo.<TValue> TValuegetObjectProperty(String propname, Class<TValue> returnType) Returns the value of a test object property.getText()Returns the text associated with this object.voidScrolls this object into view in the parent window.voidDisplays this object's context menu.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeyssendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
canFocusIndicates whether this object can receive focus.- Returns:
- true if can receive focus
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getObjectNameReturns the name of this instance.
 For example, formyFoo = new fooBar, the ObjectName is myFoo.- Returns:
- this object's name
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getFullNamePathReturns the full hierarchy of this object with all parent objects.- Returns:
- the full hierarchy
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getFullTypeReturns the full type name of this object.- Returns:
- the full type name
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getAttachedTextReturns the static text that is attached to this object.- Returns:
- the static text
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTextReturns the text associated with this object.- Returns:
- the text
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getObjectProperty<TValue> TValue getObjectProperty(String propname, Class<TValue> returnType) throws GeneralLeanFtException Returns the value of a test object property.
 This method can return any property of this control, including custom properties declared in a custom control.- Type Parameters:
- TValue- the generic type of the test object property value.
- Parameters:
- propname- the property name
- returnType- the property type
- Returns:
- the value of the property
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
makeVisibleScrolls this object into view in the parent window.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
showContextMenuDisplays this object's context menu.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-