Table of Contents

Interface IUiObjectBase

Base interface for all UiObjects in all technologies.

Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public interface IUiObjectBase : IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider
Remarks

The UiObjects are the test objects used to identify objects in a technology that do not have a more specific relevant type.

Properties

Handle

The hWnd of this object's window.

Declaration
IntPtr Handle { get; }
Property Value
Type Description
IntPtr

IsFocused

Indicates whether this object is currently in focus.

Declaration
bool IsFocused { get; }
Property Value
Type Description
bool

NativeClass

This object's window class name.

Declaration
string NativeClass { get; }
Property Value
Type Description
string

WindowTitleRegExp

The constant part of this window title.

Declaration
string WindowTitleRegExp { get; }
Property Value
Type Description
string

Methods

MouseMove(Location)

Moves the mouse pointer to the specified position inside this object.

Declaration
void MouseMove(Location moveTo)
Parameters
Type Name Description
Location moveTo

The Location to place the mouse pointer.

Extension Methods

TestObjectExtensions.WaitUntilEnabled<T>(T)
TestObjectExtensions.WaitUntilEnabled<T>(T, int)
TestObjectExtensions.WaitUntilVisible<T>(T)
TestObjectExtensions.WaitUntilVisible<T>(T, int)