IUiObjectBase Interface
Base interface of all Java test objects.

C# Syntax

Public Properties
PropertyAbsoluteLocationThis object's coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyAttachedTextThe static text attached to the object.  
PropertyBackgroundColorThe object's background color.  
PropertyForegroundColorThe object's foreground color.  
PropertyIsEnabledIndicates whether this object is enabled.  (Inherited from HP.LFT.SDK.IEnabledProvider)
PropertyIsFocusedIndicates whether this object has focus.  
PropertyIsVisibleIndicates whether this object is visible.  (Inherited from HP.LFT.SDK.IVisibleProvider)
PropertyLabelThe object's label.  
PropertyLocationThis object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyNativeClassThe object's Java class name.  
PropertyNativeObjectReturns the native application object that is represented by this test object instance, enabling you to access the native properties and methods provided by that object. (Inherited from HP.LFT.SDK.ISupportsNativeObject)
PropertyObjectNameThe object's internal name.  
PropertyPathThe object's hierarchy (object ancestors).  
PropertySizeThis object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyTagNameThe object's Java name.  
Public Methods
MethodClickClicks on this object. (Inherited from HP.LFT.SDK.IClickable)

Overloaded. Creates a native object wrapping an instance of a Java object within your application.

MethodDoubleClickDouble-clicks on this object using the specified MouseButton. (Inherited from HP.LFT.SDK.IDoubleClickable)
MethodFireEventTriggers an event on the test object. Note: use the EventInfoFactory class to generate the eventInfo argument value.  

Returns the value of a test object property.


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

C# Syntax

TValue GetObjectProperty<TValue>( 
   string propName


The property name.

Type Parameters

The property type.

Gets a native object wrapping a Java class capable of accessing static members (methods and fields) of the specified Java class.

C# Syntax

Dynamic GetStatics( 
   string className


classname - The java class name whose static members you want to access.

Return value

A native object wrapping a Java class capable of accessing static members within your application.

MethodSendKeysOverloaded. Types the specified string into the test object in the application, including special keys or key modifiers.