UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
SrfLab Class
This class can be used to launch browsers or lock devices in the SRF lab.
Syntax
public class SrfLab 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.SrfLab

Public Constructors
 NameDescription
Public ConstructorSrfLab Constructor  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)LaunchBrowserOverloaded. Launches a new browser tab returning an instance of HP.LFT.SDK.Web.IBrowser for the launched browser.  
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)ReleaseEnvironmentOverloaded. Releases the allocated browser environment.  
Top