IUiObjectBase Interface
Base interface of all Java test objects.

C# Syntax

Public Properties
  Name Description
Property AbsoluteLocation This 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)
Property AttachedText The static text attached to the object.  
Property BackgroundColor The object's background color.  
Property ForegroundColor The object's foreground color.  
Property IsEnabled Indicates whether this object is enabled.  (Inherited from HP.LFT.SDK.IEnabledProvider)
Property IsFocused Indicates whether this object has focus.  
Property IsVisible Indicates whether this object is visible.  (Inherited from HP.LFT.SDK.IVisibleProvider)
Property Label The object's label.  
Property Location This object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
Property NativeClass The object's Java class name.  
Property NativeObject Returns 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)
Property ObjectName The object's internal name.  
Property Path The object's hierarchy (object ancestors).  
Property Size This object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
Property TagName The object's Java name.  
Top
Public Methods
  Name Description
Method Click Clicks on this object. (Inherited from HP.LFT.SDK.IClickable)
Method CreateObject

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

Method DoubleClick Double-clicks on this object using the specified MouseButton. (Inherited from HP.LFT.SDK.IDoubleClickable)
Method FireEvent Triggers an event on the test object. Note: use the EventInfoFactory class to generate the eventInfo argument value.  
Method GetObjectProperty

Returns the value of a test object property.

Remarks

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

C# Syntax

TValue GetObjectProperty<TValue>( 
   string propName
)

Parameters

propName
The property name.

Type Parameters

TValue
The property type.
Method GetStatics

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
)

Parameters

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.

Method SendKeys Overloaded. Types the specified string into the test object in the application, including special keys or key modifiers.  
Top