Share this page

LockDevice Method (MobileLab)
Obtains a device from the Digital Lab lab and locks it, so that only the current OpenText Functional Testing for Developers test can perform actions on it.
Overload List

Overload | Description
--- | ---
LockDevice(DeviceDescription) | Obtains a device from the Digital Lab lab and locks it, so that only the current OpenText Functional Testing for Developers test can perform actions on it.
LockDevice(DeviceDescription,ApplicationDescription[]) | Obtains a device from the Digital Lab lab and locks it, so that only the current OpenText Functional Testing for Developers test can perform actions on it.
LockDevice(DeviceDescription,ApplicationDescription[],DeviceSource) | Obtains a device from the Digital Lab lab and locks it, so that only the current OpenText Functional Testing for Developers test can perform actions on it.
LockDevice(DeviceDescription,DeviceSessionOptions) | Obtains a device from the Digital Lab lab and locks it, so that only the current OpenText Functional Testing for Developers test can perform actions on it.

Example

    // Lock a device by name.
    var device = MobileLab.LockDeviceByName("MyDevice");

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: