Open topic with navigation

IUiObjectBase Interface
Base for .NET Windows Forms test objects.

C# Syntax

    public interface IUiObjectBase : HP.LFT.SDK.IClickable, HP.LFT.SDK.IDoubleClickable, HP.LFT.SDK.ILocationInfoProvider, HP.LFT.SDK.ISupportDragAndDrop, HP.LFT.SDK.ISupportSendKeys, HP.LFT.SDK.ISupportsNativeObject, HP.LFT.SDK.IUiObjectBase

Public Properties

| Name | Description
--- | --- | ---
| 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)
| FullNamePath | The full hierarchy of this object with all parent objects.
| FullType | The full type name of this object.
| Handle | The hWnd of this object's window. (Inherited from HP.LFT.SDK.IUiObjectBase)
| IsChildWindow | Indicates whether this object's window is a child window.
| IsEnabled | Indicates whether this object is enabled. (Inherited from HP.LFT.SDK.IEnabledProvider)
| IsFocused | Indicates whether this object is currently in focus. (Inherited from HP.LFT.SDK.IUiObjectBase)
| IsOwnedWindow | Indicates whether this object's window has an owner window.
| IsVisible | Indicates whether this object is currently visible. (Inherited from HP.LFT.SDK.IVisibleProvider)
| Location | This object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
| NativeClass | This object's window class name. (Inherited from HP.LFT.SDK.IUiObjectBase)
| 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)
| ObjectName | The instance's name.
| Size | This object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
| Text | The text associated with this object.
| WindowClassRegExp | The permanent part of the MFC window class.
| WindowId | This object's window identifier.
| WindowTitleRegExp | The constant part of this window title. (Inherited from HP.LFT.SDK.IUiObjectBase)

Top
Public Methods

| Name | Description
--- | --- | ---
| Click | Clicks on this object. (Inherited from HP.LFT.SDK.IClickable)
| DoubleClick | Double-clicks on this object using the specified MouseButton. (Inherited from HP.LFT.SDK.IDoubleClickable)
| DragAndDropOn | Drags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
| FireEvent | Simulates an event on a .NET object.
| GetObjectProperty<TValue> | Returns the value of a test object property.
| MouseMove | Moves the mouse pointer to the specified position inside this object. (Inherited from HP.LFT.SDK.IUiObjectBase)
| SendKeys | Types the specified string into the object in the application, including special keys or key modifiers. (Inherited from HP.LFT.SDK.ISupportSendKeys)

Top