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
  Name Description
Public Property static (Shared in Visual Basic) MobileCenterAddress Returns the URI of the UFT Mobile as defined in the LFTRuntime configuration, or null if it is not defined.  
Public Property static (Shared in Visual Basic) MobileCenterUserName Returns the user name of the UFT Mobile as defined in the LFTRuntime configuration, or null if it is not defined.  
Top
Public Methods
  Name Description
Public Method static (Shared in Visual Basic) GetDeviceList Returns information (a list of IDeviceInfo interfaces) about all the devices in UFT Mobile.  
Public Method static (Shared in Visual Basic) LockDevice Overloaded. 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 Method static (Shared in Visual Basic) LockDeviceById Obtains 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 Method static (Shared in Visual Basic) LockDeviceByInfo Obtains 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 Method static (Shared in Visual Basic) LockDeviceByName 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.  
Public Method static (Shared in Visual Basic) TryLockDeviceByInfo Checks 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