Mobile

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:
NameTypeDescription
idstringThe device ID used by Mobile Center.
modelstringThe model name of the device.
manufacturerstringThe manufacturer of the device.
osTypestringThe operating system currently running on the device.
osVersionstringThe version of the operating system currently running on the device.
namestringThe logical name that Mobile Center uses to identify the device.

MobileCenterConfiguration

Type:
  • Object
Properties:
NameTypeDescription
usernamestringThe Mobile Center username used to log in.
addressstringThe Mobile Center server address.

DeviceOrientation

Possible values for the device orientation type.
Type:
  • Object
Properties:
NameTypeDescription
portraitstringSets the device in portrait mode.
landscapestringSets the device in landscape mode.

DeviceSource

Possible values for the device source type.
Type:
  • Object
Properties:
NameTypeDescription
mobile_centerstringDevice is stored on Mobile Center.
amazon_device_farmstringDevice is stored on an AWS Device Farm.
anystringDevice is stored either on Mobile Center or an 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:
NameTypeDescription
enterstringThe Enter key. Supported on iOS and Android.
returnstringThe Return key. Supported on iOS.
backspacestringThe Backspace key. Supported on iOS and Android.
deletestringThe Delete key. Supported on iOS and Android.
tabstringThe Tab key. Supported on Android.
escapestringThe Escape key. Supported on Android.
pageUpstringThe PageUp key. Supported on Android.
pageDownstringThe PageDown key. Supported on Android.
endstringThe End key. Supported on Android.
homestringThe Home key. Supported on Android.
leftstringThe Left key. Supported on Android.
rightstringThe Right key. Supported on Android.
upstringThe Up key. Supported on Android.
downstringThe Down key. Supported on Android.

SimulateAuthFailReason

Authentication simulation failure reasons.
Type:
  • Object
Properties:
NameTypeDescription
lockoutstringToo many attempts.
notRecognizedstringAuthentication method not recognized.
notRegisteredstringAuthentication method not registered (iOS only).
fingerprintIncompletestringFingerprint incomplete, moving too fast (Android only).
sensorDirtystringFingerprint sensor is dirty (Android only).

SimulateAuthCancelOrigin

Authentication simulation cancellation reasons.
Type:
  • Object
Properties:
NameTypeDescription
systemstringAuthentication operation canceled by system.
userstringAuthentication operation canceled by user.