LockDeviceByName Method
Obtains a device from the 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 UFT Mobile uses to identify the device.