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

C# Syntax

public static IDevice LockDeviceByName( 
   string deviceName
)

Parameters

deviceName
The name that Digital Lab (UFT Mobile) uses to identify the device.