Interface IUiObjectBase
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
CanFocus
Indicates whether this object can receive focus.
bool CanFocus { get; }
Property Value
FullNamePath
The full hierarchy of ObjectName with all parent objects.
string FullNamePath { get; }
Property Value
FullType
The full type name of this object.
string FullType { get; }
Property Value
ObjectName
The name of this instance.
string ObjectName { get; }
Property Value
Remarks
For example, for
myFoo = new fooBar, the ObjectName is myFoo.
Text
The text associated with this object.
string Text { get; }
Property Value
Methods
GetObjectProperty<TValue>(string)
Returns the value of a test object property.
TValue GetObjectProperty<TValue>(string propName)
Parameters
propNamestringThe property name.
Returns
- TValue
Type Parameters
TValueThe 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()