Uses of Interface
com.hp.lft.sdk.mobile.Device
Packages that use Device
Package
Description
Provides the SDK for core OpenText Functional Testing for Developers functionality.
Provides the SDK for testing objects in mobile applications.
-
Uses of Device in com.hp.lft.sdk
Methods in com.hp.lft.sdk that return DeviceModifier and TypeMethodDescriptionstatic Device
SrfLab.lockDevice
(DeviceDescription description) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
SrfLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
SrfLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall, DeviceSource deviceSource) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
SrfLab.lockDevice
(DeviceDescription description, DeviceSessionOptions sessionOptions) Obtains a device from the OpenText Functional Testing Lab and locks it, so that only the current test can perform actions on it.static Device
SrfLab.lockDeviceById
(String deviceId) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.Methods in com.hp.lft.sdk with parameters of type DeviceModifier and TypeMethodDescriptionstatic void
SrfLab.releaseEnvironment
(Device device) Release the allocated device environment. -
Uses of Device in com.hp.lft.sdk.mobile
Methods in com.hp.lft.sdk.mobile that return DeviceModifier and TypeMethodDescriptionstatic Device
MobileLab.lockDevice
(DeviceDescription description) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall, DeviceSource deviceSource) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDevice
(DeviceDescription description, DeviceSessionOptions sessionOptions) Obtains a device from the OpenText Functional Testing Lab and locks it, so that only the current test can perform actions on it.static Device
MobileLab.lockDeviceById
(String deviceId) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDeviceByInfo
(DeviceInfo deviceInfo) Obtains a device from OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDeviceByName
(String deviceName) Obtains a device from the OpenText Functional Testing Lab by device name and locks it so that only the current test can perform actions on it.static Device
MobileLab.tryLockDeviceByInfo
(DeviceInfo deviceInfo) Checks whether a device is available in the OpenText Functional Testing Lab and if so, locks it, so that only the current test can perform actions on it.
If this method fails, the test continues without an exception.