UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
IUiObjectBase Interface
Base for .NET Windows Forms test objects.
Syntax
Public Properties
 NameDescription
 PropertyAbsoluteLocationThis 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)
 PropertyFullNamePathThe full hierarchy of this object with all parent objects.  
 PropertyFullTypeThe full type name of this object.  
 PropertyHandleThe hWnd of this object's window. (Inherited from HP.LFT.SDK.IUiObjectBase)
 PropertyIsChildWindowIndicates whether this object's window is a child window.  
 PropertyIsEnabledIndicates whether this object is enabled. (Inherited from HP.LFT.SDK.IUiObjectBase)
 PropertyIsFocusedIndicates whether this object is currently in focus. (Inherited from HP.LFT.SDK.IUiObjectBase)
 PropertyIsOwnedWindowIndicates whether this object's window has an owner window.  
 PropertyIsVisibleIndicates whether this object is currently visible. (Inherited from HP.LFT.SDK.IUiObjectBase)
 PropertyLocationThis object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
 PropertyNativeClassThis object's window class name. (Inherited from HP.LFT.SDK.IUiObjectBase)
 PropertyNativeObjectReturns 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)
 PropertyObjectNameThe instance's name.  
 PropertySizeThis object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
 PropertyTextThe text associated with this object.  
 PropertyWindowClassRegExpThe permanent part of the MFC window class.  
 PropertyWindowIdThis object's window identifier.  
 PropertyWindowTitleRegExpThe constant part of this window title. (Inherited from HP.LFT.SDK.IUiObjectBase)
Top
Public Methods
 NameDescription
 MethodClickClicks on this object. (Inherited from HP.LFT.SDK.IClickable)
 MethodDoubleClickDouble-clicks on this object using the specified MouseButton. (Inherited from HP.LFT.SDK.IDoubleClickable)
 MethodDragAndDropOnDrags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
 MethodFireEventSimulates an event on a .NET object.  
 MethodGetObjectProperty<TValue>Returns the value of a test object property.  
 MethodMouseMoveMoves the mouse pointer to the specified position inside this object. (Inherited from HP.LFT.SDK.IUiObjectBase)
 MethodSendKeysTypes the specified string into the object in the application, including special keys or key modifiers. (Inherited from HP.LFT.SDK.ISupportSendKeys)
Top