Object Model Reference for GUI Testing > Mobile > MobileStepper Object > MobileStepper description properties

MobileStepper description properties

The MobileStepper test object supports the description properties listed in the table below.

Note: Most object description properties can be used in the object repository description, in programmatic descriptions, in checkpoint and output value steps, and as argument values for the GetTOProperty and GetROProperty methods. However, some object description properties can be used only in checkpoint and output value steps, and with GetROProperty, WaitProperty, and CheckProperty steps, whereas others can be used only when identifying an object, as indicated below.

Property Name

Available for object identification Available for checkpoints / output values / GetROProperty, WaitProperty and CheckProperty

Description

abs_x**  

(GetROProperty, WaitProperty, CheckProperty only)

The mobile object's x-coordinate (left) relative to the screen (in pixels).
abs_y**  

(GetROProperty, WaitProperty, CheckProperty only)

The mobile object's y-coordinate (top) relative to the screen (in pixels).
accessibilityid  

The accessibility ID of the mobile control.

bottom

The offset (in pixels) of the mobile control's bottom border from the top of the device's screen.

class*  

The test object class name used by Mobile Center to identify objects, such as button or table.

container  

The x-path to the control within its container.

Syntax: <Class>[index][row][cell] (All values are 0-based)

Example: Table[1][3][5] means that the object is in the 6th cell of the 4th row of the 2nd Table object.

height**  
(GetROProperty, WaitProperty, CheckProperty only)
The mobile object's height (in pixels).
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.

ischeckable

Indicates whether the mobile control contains a check box that can be selected. (Relevant for controls with a check box.)

ischecked

Indicates whether the mobile control is checked. (Relevant for controls with a check box.)

isclickable

Indicates whether the mobile control can be tapped (clicked).

isenabled

Indicates whether the mobile control is enabled.

isfocusable

Indicates whether the mobile control can be brought into focus.

isfocused

Indicates whether the mobile control is in focus.

left**

The offset (in pixels) of the mobile control's left border from the left side of the device's screen.

mcindex  

An ordinal number assigned to the object by Mobile Center to indicate the order in which the object appears on the device relative to other objects with an otherwise identical description.

nativeclass  

The native class of the mobile control.

resourceid  

The resource ID for the control. (Relevant only for Android)

right**

The offset (in pixels) of the mobile control's right border from the left side of the device's screen.

text

The text property of the mobile control.

top**

The offset (in pixels) of the mobile control's top border from the top of the device's screen.

width**  

(GetROProperty, WaitProperty, CheckProperty only)

The mobile object's width in pixels.

Example: * Required by Mobile Center to identify the objects in the application.


** When defining the location of an object:

Note: To change descriptions of Mobile test objects created in UFT 12.02 Patch 1 (Mobile Center 1.01) or earlier, first update the test object in the object repository.

See also: