Share this page

com.hp.lft.sdk

## Class EnvironmentFactory

- java.lang.Object
- - com.hp.lft.sdk.EnvironmentFactory

-     public class EnvironmentFactory
      extends Object

  A class for creating a `DesktopEnvironment` instance.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnvironmentFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DesktopEnvironment` | `get(EnvironmentDescription envDescription)` Locks and returns a specific environment based on the specified capabilities.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EnvironmentFactory

          public EnvironmentFactory()

  - ### Method Detail

    - #### get

          public static DesktopEnvironment get(EnvironmentDescription envDescription)
                                        throws GeneralLeanFtException

      Locks and returns a specific environment based on the specified capabilities.
      Parameters:
        `envDescription` - - All of the environment capabilities that the test requires.
      Returns:
        the requested environment.
      Throws:
        `GeneralLeanFtException` - if the get operation fails.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: