MobileLab Class
The UFT Mobile lab, where users, applications, and devices are managed.

C# Syntax

public static class MobileLab 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Mobile.MobileLab

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)MobileCenterAddressReturns the URI of the UFT Mobile as defined in the LFTRuntime configuration, or null if it is not defined.  
Public Propertystatic (Shared in Visual Basic)MobileCenterUserNameReturns the user name of the UFT Mobile as defined in the LFTRuntime configuration, or null if it is not defined.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)GetDeviceListReturns information (a list of IDeviceInfo interfaces) about all the devices in UFT Mobile.  
Public Methodstatic (Shared in Visual Basic)LockDeviceOverloaded. Obtains a device from the UFT Mobile lab and locks it, so that only the current UFT Developer test can perform actions on it.  
Public Methodstatic (Shared in Visual Basic)LockDeviceByIdObtains a device from the UFT Mobile lab by deviceID and locks it, so that only the current UFT Developer test can perform actions on it.  
Public Methodstatic (Shared in Visual Basic)LockDeviceByInfoObtains a device from the UFT Mobile lab by device information and locks it, so that only the current UFT Developer test can perform actions on it.  
Public Methodstatic (Shared in Visual Basic)LockDeviceByNameObtains 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.  
Public Methodstatic (Shared in Visual Basic)TryLockDeviceByInfoChecks whether a device is available in the UFT Mobile lab and, if so, locks it so that only the current UFT Developer test can perform actions on it.  
Top