LockDevice(DeviceDescription,DeviceSessionOptions) Method
Obtains a device from the Digital Lab (UFT Mobile) lab and locks it, so that only the current UFT Developer test can perform actions on it.

C# Syntax

Parameters

description
The DeviceDescription defined in Digital Lab (UFT Mobile).
deviceSessionOptions
A DeviceSessionOptions object supplying session options.