Open topic with navigation

IUiObjectBase Interface
Base interface for all PowerBuilder test objects.
C# Syntax

    public interface IUiObjectBase : IClickable, IDoubleClickable, ILocationInfoProvider, IEnabledProvider, IVisibleProvider, ISupportDragAndDrop, ISupportSendKeys, 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)
| AttachedText | The static text attached to the object. C# Syntax
    string AttachedText {get;}
| IsEnabled | Indicates whether this object is enabled. (Inherited from HP.LFT.SDK.IEnabledProvider)
| 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)
| ObjectName | The object's name as set by the developer. C# Syntax
    string ObjectName {get;}
| Text | The text associated with the object. C# Syntax
    string Text {get;}
| Size | This object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
| WindowClassRegExp | The permanent part of the MFC window class. C# Syntax
    string WindowClassRegExp {get;}
| WindowExtendedStyle | The extended window style of the object. Possible values: HP.LFT.SDK.WindowExtendedStyles C# Syntax
    WindowExtendedStyles WindowExtendedStyle {get;}
| WindowId | The window identifier for the object. C# Syntax
    int WindowId {get;}
| WindowStyle | The window style of the object. Possible values: HP.LFT.SDK.WindowStyles C# Syntax
    WindowStyles WindowStyle {get;}

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. (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