OpenText™ Functional Testing for Developers JavaScript SDK
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 OpenText Functional Testing Lab. |
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 OpenText Functional Testing Lab 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:
Name |
Type |
Description |
mobile_center |
string
|
Device is stored on OpenText Functional Testing Lab. |
on_premises |
string
|
Device is stored on OpenText Functional Testing Lab. |
amazon_device_farm |
string
|
Device is stored on an AWS Device Farm. |
genycloud |
string
|
Device is provided by Genymotion. |
storm_runner_functional |
string
|
Device is stored on Storm Runner Functional (SRF). (deprecated) |
wetest |
string
|
The device is provided by a Tencent WeTest device farm. |
any |
string
|
The device is stored or provided by any of the supported sources. |
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 OpenText Functional Testing Lab username used to log in. |
address |
string
|
The OpenText Functional Testing Lab 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). |