Open topic with navigation

SrfLab Class
This class can be used to launch browsers or lock devices in the SRF lab.

C# Syntax

    public class SrfLab

Inheritance Hierarchy

System.Object
HP.LFT.SDK.SrfLab

Public Constructors

| Name | Description
--- | --- | ---
| SrfLab Constructor |

Top
Public Methods

| Name | Description
--- | --- | ---
| LaunchBrowser | Overloaded. Launches a new browser tab returning an instance of HP.LFT.SDK.Web.IBrowser for the launched browser.
| 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.
| ReleaseEnvironment | Overloaded. Releases the allocated browser environment.

Top