EnvironmentFactory Class

A class for creating a DesktopEnvironment instance.

Note: Supported from LeanFT 14.51.

C# Syntax

public class EnvironmentFactory 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.EnvironmentFactory

Public Constructors
  Name Description
Public Constructor EnvironmentFactory Constructor

Initializes a new instance of the EnvironmentFactory class.  

C# Syntax

public EnvironmentFactory ()
Top
Public Methods
  Name Description
Public Method static (Shared in Visual Basic) Get

Locks and returns a specific environment based on the specified capabilities.  

C# Syntax

public static IDesktopEnvironment Get(EnvironmentDescription environmentDescription)

Parameters

environmentDescription
All of the environment capabilities that the test requires.

Returns

The requested environment.

Top