LockDevice Method (MobileLab)
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.
Overload List
OverloadDescription
LockDevice(DeviceDescription)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.  
LockDevice(DeviceDescription,ApplicationDescription[])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.  
LockDevice(DeviceDescription,ApplicationDescription[],DeviceSource)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.  
LockDevice(DeviceDescription,DeviceSessionOptions)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.  
Example
// Lock a device by name.
var device = MobileLab.LockDeviceByName("MyDevice");