Open topic with navigation

IUiObjectBase Interface
Base interface for all UiObjects in all technologies.

C# Syntax

    public interface IUiObjectBase : IClickable, IDoubleClickable, ILocationInfoProvider, IEnabledProvider, IVisibleProvider, ISupportDragAndDrop, ISupportSendKeys

Remarks
The UiObjects are the test objects used to identify objects in a technology that do not have a more specific relevant type.
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)
| Handle | The hWnd of this object's window.
| IsEnabled | Indicates whether this object is enabled. (Inherited from HP.LFT.SDK.IEnabledProvider)
| IsFocused | Indicates whether this object is currently in focus.
| 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.
| Size | This object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
| WindowTitleRegExp | The constant part of this window title.

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)
| MouseMove | Moves the mouse pointer to the specified position inside this object.
| SendKeys | Types the specified string into the object in the application, including special keys or key modifiers. (Inherited from HP.LFT.SDK.ISupportSendKeys)

Top