Share this page

IUiObjectBase Interface
Base interface of all WPF test objects.

C# Syntax

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

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)
| AttachedText | The static text that is attached to this object.
| CanFocus | Indicates whether this object can receive focus.
| FullNamePath | The full hierarchy of ObjectName 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)
| 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)
| 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 name of this instance.
| Size | This object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
| Text | The text associated with this object.
| 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)
| GetObjectProperty<TValue> | Returns the value of a test object property.
| MakeVisible | Scrolls this object into view in the parent window.
| 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)
| ShowContextMenu | Displays this object's context menu.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: