IUiObjectBase Interface
Base interface of all WPF test objects.
C# Syntax
Public Properties
  Name Description
Property AbsoluteLocation This object's coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
Property AttachedText The static text that is attached to this object.  
Property CanFocus Indicates whether this object can receive focus.  
Property FullNamePath The full hierarchy of ObjectName with all parent objects.  
Property FullType The full type name of this object.  
Property Handle The hWnd of this object's window. (Inherited from HP.LFT.SDK.IUiObjectBase)
Property IsEnabled Indicates whether this object is enabled. (Inherited from HP.LFT.SDK.IEnabledProvider)
Property IsFocused Indicates whether this object is currently in focus. (Inherited from HP.LFT.SDK.IUiObjectBase)
Property IsVisible Indicates whether this object is currently visible. (Inherited from HP.LFT.SDK.IVisibleProvider)
Property Location This object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
Property NativeClass This object's window class name. (Inherited from HP.LFT.SDK.IUiObjectBase)
Property NativeObject Returns the native application object that is represented by this test object instance, enabling you to access the native properties and methods provided by that object. (Inherited from HP.LFT.SDK.ISupportsNativeObject)
Property ObjectName The name of this instance.  
Property Size This object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
Property Text The text associated with this object.  
Property WindowTitleRegExp The constant part of this window title. (Inherited from HP.LFT.SDK.IUiObjectBase)
Top
Public Methods
  Name Description
Method Click Clicks on this object. (Inherited from HP.LFT.SDK.IClickable)
Method DoubleClick Double-clicks on this object using the specified MouseButton. (Inherited from HP.LFT.SDK.IDoubleClickable)
Method DragAndDropOn Drags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
Method GetObjectProperty<TValue> Returns the value of a test object property.  
Method MakeVisible Scrolls this object into view in the parent window.  
Method MouseMove Moves the mouse pointer to the specified position inside this object. (Inherited from HP.LFT.SDK.IUiObjectBase)
Method SendKeys Types the specified string into the object in the application, including special keys or key modifiers. (Inherited from HP.LFT.SDK.ISupportSendKeys)
Method ShowContextMenu Displays this object's context menu.  
Top