Table of Contents

Interface IUiObjectBase

Namespace
HP.LFT.SDK.WPF
Assembly
HP.LFT.SDK.dll

Base interface of all WPF test objects.

public interface IUiObjectBase : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject
Inherited Members
Extension Methods

Properties

AttachedText

The static text that is attached to this object.

string AttachedText { get; }

Property Value

string

CanFocus

Indicates whether this object can receive focus.

bool CanFocus { get; }

Property Value

bool

FullNamePath

The full hierarchy of ObjectName with all parent objects.

string FullNamePath { get; }

Property Value

string

FullType

The full type name of this object.

string FullType { get; }

Property Value

string

ObjectName

The name of this instance.

string ObjectName { get; }

Property Value

string

Remarks

For example, for

myFoo = new fooBar
, the ObjectName is myFoo.

Text

The text associated with this object.

string Text { get; }

Property Value

string

Methods

GetObjectProperty<TValue>(string)

Returns the value of a test object property.

TValue GetObjectProperty<TValue>(string propName)

Parameters

propName string

The property name.

Returns

TValue

Type Parameters

TValue

The property type.

Remarks

This method can return any property of this control, including custom properties declared in a custom control.

MakeVisible()

Scrolls this object into view in the parent window.

void MakeVisible()

ShowContextMenu()

Displays this object's context menu.

void ShowContextMenu()