Open topic with navigation

MobileLab Class
The Mobile Center 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
--- | --- | ---
| MobileCenterAddress | Returns the URI of the Mobile Center as defined in the LFTRuntime configuration, or null if it is not defined.
| MobileCenterUserName | Returns the user name of the Mobile Center as defined in the LFTRuntime configuration, or null if it is not defined.

Top
Public Methods

| Name | Description
--- | --- | ---
| GetDeviceList | Returns information (a list of IDeviceInfo interfaces) about all the devices in Mobile Center.
| LockDevice | Overloaded. Obtains a device from the Mobile Center lab and locks it, so that only the current LeanFT test can perform actions on it.
| LockDeviceById | Obtains a device from the Mobile Center lab by deviceID and locks it, so that only the current LeanFT test can perform actions on it.
| LockDeviceByInfo | Obtains 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.
| LockDeviceByName | Obtains 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.
| TryLockDeviceByInfo | Checks 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