Share this page
Mobile
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:
Properties:
Name | Type | Description |
---|
id | string | The device ID used by Digital Lab (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 Digital Lab (UFT Mobile) uses to identify the device. |
DeviceOrientation
Possible values for the device orientation type.
Type:
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:
Properties:
UFT Developer 2023 and earlier:
Name | Type | Description |
---|
mobile_center | string | Device is stored on Digital Lab (UFT Mobile). |
amazon_device_farm | string | Device is stored on an AWS Device Farm. |
any | string | Device is stored on Digital Lab (UFT Mobile) or AWS Device Farm. |
UFT Developer 23.4 and later:
Name | Type | Description |
---|
on_premises | string | Device is stored on Digital Lab (UFT Mobile). |
aws | string | Device is stored on an AWS Device Farm. |
any | string | Device is stored on Digital Lab (UFT Mobile) 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:
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:
Properties:
Name | Type | Description |
---|
username | string | The Digital Lab (UFT Mobile) username used to log in. |
address | string | The Digital Lab (UFT Mobile) server address. |
Supplies constants representing mobile scroll direction.
Type:
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:
Properties:
Name | Type | Description |
---|
system | string | Authentication operation canceled by system. |
user | string | Authentication operation canceled by user. |
SimulateAuthFailReason
Authentication simulation failure reasons.
Type:
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 ReferenceVersion: 2021-23.4UFT Developer SDK ReferenceAllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion: