Table of Contents

Class UiObjectDescriptionBase

The base description of all WPF test objects.

Namespace: HP.LFT.SDK.WPF
Assembly: HP.LFT.SDK.dll
Syntax
public class UiObjectDescriptionBase : Description, ICloneable, IDescription

Constructors

UiObjectDescriptionBase()

Constructs a new instance of UiObjectDescriptionBase.

Declaration
public UiObjectDescriptionBase()

Properties

AbsoluteLocation

This object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.

Declaration
public LocationProperty AbsoluteLocation { get; set; }
Property Value
Type Description
LocationProperty

AttachedText

The static text that is attached to a control.

Declaration
public StringProperty AttachedText { get; set; }
Property Value
Type Description
StringProperty

CanFocus

Indicates whether this object can receive the focus

Declaration
public bool? CanFocus { get; set; }
Property Value
Type Description
bool?

FullNamePath

The full hierarchy of ObjectName with all parent objects.

Declaration
public StringProperty FullNamePath { get; set; }
Property Value
Type Description
StringProperty

FullType

The full type name of this object.

Declaration
public StringProperty FullType { get; set; }
Property Value
Type Description
StringProperty

IsEnabled

Indicates whether this object is enabled.

Declaration
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

IsFocused

Indicates whether this object has the focus.

Declaration
public bool? IsFocused { get; set; }
Property Value
Type Description
bool?

IsVisible

Indicates whether this object is visible.

Declaration
public bool? IsVisible { get; set; }
Property Value
Type Description
bool?

Location

This object's coordinates relative to the parent window (in pixels).

Declaration
public LocationProperty Location { get; set; }
Property Value
Type Description
LocationProperty

NativeClass

This object's window class name.

Declaration
public StringProperty NativeClass { get; set; }
Property Value
Type Description
StringProperty

ObjectName

This object's name as set by the developer.

Declaration
public StringProperty ObjectName { get; set; }
Property Value
Type Description
StringProperty

Size

This object's size (in pixels).

Declaration
public SizeProperty Size { get; set; }
Property Value
Type Description
SizeProperty

Text

The text associated with this object.

Declaration
public StringProperty Text { get; set; }
Property Value
Type Description
StringProperty

WindowTitleRegExp

The constant part of this window title.

Declaration
public StringProperty WindowTitleRegExp { get; set; }
Property Value
Type Description
StringProperty

Implements

ICloneable
IDescription