IUiObjectBase Interface
Common functionality for all UI objects in a mobile application.
C# Syntax
public interface IUiObjectBase 
Public Properties
  Name Description
Property AccessibilityId The accessibility ID of the mobile object.  
Property ClassName The test object class name used by Mobile Center.  
Property Container Information about the table container, if the object is in a table. (iOS Only)  
Property Hint

Instruction or example indicating the type of content to enter for the value of a control, for example, a grayed out hint inside a text box.

C# Syntax

string Hint {get;}
Property IsCheckable

Indicates whether the mobile object can be checked.

C# Syntax

bool IsCheckable {get;}
Property IsChecked

Indicates whether the mobile object is checked. (Relevant for objects that can have a check mark.)

C# Syntax

bool IsChecked {get;}
Property IsClickable

Indicates whether the object can be tapped.  

Property IsEnabled Indicates whether the mobile object is enabled.  
Property IsFocusable Indicates whether the object can receive focus.  
Property IsFocused Indicates whether the mobile object is in focus.  
Property Location The location of the mobile object.  
Property NativeClass

The native class of the mobile object.

C# Syntax

string NativeClass {get;}
Property ResourceId The resource ID of the object. (Android Only)  
Property Size The size of the mobile object.  
Property Text

The object's text.

C# Syntax

string Text {get;}
Top
Public Methods
  Name Description
Method LongPress Overloaded. Taps and holds the object for a short time.  
Method Pan Overloaded. Perform a Pan gesture on the object. (iOS Only)  
Method Pinch Overloaded. Perform a Pinch gesture on the object.  
Method Swipe Overloaded. Swipes the object in the specified direction.  
Method Tap Overloaded. Taps the center of the object.  
Top