UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
MobileLab Class
The Mobile Center lab, where users, applications, and devices are managed.
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 Mobile Center 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 Mobile Center 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 Mobile Center.  
Public Methodstatic (Shared in Visual Basic)LockDeviceOverloaded. Obtains a device from the Mobile Center lab and locks it, so that only the current LeanFT test can perform actions on it.  
Public Methodstatic (Shared in Visual Basic)LockDeviceByIdObtains a device from the Mobile Center lab by deviceID and locks it, so that only the current LeanFT test can perform actions on it.  
Public Methodstatic (Shared in Visual Basic)LockDeviceByInfoObtains a device from the Mobile Center lab by device information and locks it, so that only the current LeanFT test can perform actions on it.  
Public Methodstatic (Shared in Visual Basic)LockDeviceByNameObtains a device from the Mobile Center lab by device name and locks it, so that only the current LeanFT test can perform actions on it.  
Public Methodstatic (Shared in Visual Basic)TryLockDeviceByInfoChecks whether a device is available in the Mobile Center lab and, if so, locks it so that only the current LeanFT test can perform actions on it.  
Top