Open topic with navigation

# EnvironmentFactory Class

A class for creating a DesktopEnvironment instance.

Note: Supported in LeanFT versions 14.51 and later.

C# Syntax

                                public class EnvironmentFactory

Inheritance Hierarchy

System.Object
HP.LFT.SDK.EnvironmentFactory

Public Constructors

| Name | Description
--- | --- | ---
| EnvironmentFactory Constructor | Initializes a new instance of the EnvironmentFactory class. C# Syntax
    public EnvironmentFactory ()

Top
Public Methods

| Name | Description
--- | --- | ---
| 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