Share this page

# Mobile

Mobile namespace

# Classes

Application
ApplicationTO
Button
ButtonTO
Calendar
CalendarTO
CheckBox
CheckBoxTO
Device
DeviceTO
DropDown
DropDownTO
Edit
EditFieldTO
Lab
Label
LabelTO
Paginator
PaginatorTO
RadioGroup
RadioGroupTO
RecyclerView
RecyclerViewTO
Slider
SliderTO
Stepper
StepperTO
Table
TableTO
TabStrip
TabStripTO
Toggle
ToggleTO
UiObject
UiObjectTO
View
ViewTO
WebView
WebViewTO

# Type Definitions

## DeviceInfo

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`id` | string | The device ID used by UFT Mobile.
`model` | string | The model name of the device.
`manufacturer` | string | The manufacturer of the device.
`osType` | string | The operating system currently running on the device.
`osVersion` | string | The version of the operating system currently running on the device.
`name` | string | The logical name that UFT Mobile uses to identify the device.

## DeviceOrientation

Possible values for the device orientation type.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`portrait` | string | Sets the device in portrait mode.
`landscape` | string | Sets the device in landscape mode.

## DeviceSource

Possible values for the device source type.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`mobile_center` | string | Device is stored on UFT Mobile.
`amazon_device_farm` | string | Device is stored on an AWS Device Farm.
`any` | string | Device is stored on UFT Mobileor AWS Device Farm.

## Keys

Supplies constants representing mobile keyboard keys, which can be used in the input parameter of the Device.sendKey(key) method.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`enter` | string | The Enter key. Supported on iOS and Android.
`return` | string | The Return key. Supported on iOS.
`backspace` | string | The Backspace key. Supported on iOS and Android.
`delete` | string | The Delete key. Supported on iOS and Android.
`tab` | string | The Tab key. Supported on Android.
`escape` | string | The Escape key. Supported on Android.
`pageUp` | string | The PageUp key. Supported on Android.
`pageDown` | string | The PageDown key. Supported on Android.
`end` | string | The End key. Supported on Android.
`home` | string | The Home key. Supported on Android.
`left` | string | The Left key. Supported on Android.
`right` | string | The Right key. Supported on Android.
`up` | string | The Up key. Supported on Android.
`down` | string | The Down key. Supported on Android.

## MobileCenterConfiguration

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`username` | string | The UFT Mobile username used to log in.
`address` | string | The UFT Mobile server address.

## ScrollDirection

Supplies constants representing mobile scroll direction.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`down` | string | Scroll down.
`up` | string | Scroll up.
`left` | string | Scroll left.
`right` | string | Scroll right.

## SimulateAuthCancelOrigin

Authentication simulation cancellation reasons.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`system` | string | Authentication operation canceled by system.
`user` | string | Authentication operation canceled by user.

## SimulateAuthFailReason

Authentication simulation failure reasons.

##### Type:

- Object

##### Properties:

Name | Type | Description
--- | --- | ---
`lockout` | string | Too many attempts.
`notRecognized` | string | Authentication method not recognized.
`notRegistered` | string | Authentication method not registered (iOS only).
`fingerprintIncomplete` | string | Fingerprint incomplete, moving too fast (Android only).
`sensorDirty` | string | Fingerprint sensor is dirty (Android only).

Tips to improve your search results... UFT Developer JavaScript SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: