Interface IUiObjectBase
Base interface of all WPF test objects.
Inherited Members
Namespace: HP.LFT.SDK.WPF
Assembly: HP.LFT.SDK.dll
Syntax
public interface IUiObjectBase : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject
Properties
AttachedText
The static text that is attached to this object.
Declaration
string AttachedText { get; }
Property Value
| Type | Description |
|---|---|
| string |
CanFocus
Indicates whether this object can receive focus.
Declaration
bool CanFocus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
FullNamePath
The full hierarchy of ObjectName with all parent objects.
Declaration
string FullNamePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
FullType
The full type name of this object.
Declaration
string FullType { get; }
Property Value
| Type | Description |
|---|---|
| string |
ObjectName
The name of this instance.
Declaration
string ObjectName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
For example, for
myFoo = new fooBar, the ObjectName is myFoo.
Text
The text associated with this object.
Declaration
string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetObjectProperty<TValue>(string)
Returns the value of a test object property.
Declaration
TValue GetObjectProperty<TValue>(string propName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propName | The property name. |
Returns
| Type | Description |
|---|---|
| TValue |
Type Parameters
| Name | Description |
|---|---|
| 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.
Declaration
void MakeVisible()
ShowContextMenu()
Displays this object's context menu.
Declaration
void ShowContextMenu()