IDesktopEnvironment Interface

Represents an environment on which LeanFT performs test operations.

Note: Supported in LeanFT versions 14.51 and later.

C# Syntax
                        
                            public interface IDesktopEnvironment : IEnvironment
Public Properties
  Name Description
Public Property

Keyboard

Returns an IKeyboardDevice object that enables device replay on the environment.

C# Syntax

public IKeyboardDevice Keyboard {get;}
Public Property Mouse

Returns an IMouseDevice object that enables device replay on the environment.

C# Syntax

public IMouseDevice Mouse {get;}
Public Methods
  Name Description
Public Method Describe<T>

Describes a top level Window or Dialog test object.  

C# Syntax

public T Describe<T>( 
   IDescription description
)
where T: class, ITopLevelObject

Parameters

description
The description of the top level Window or Dialog test object.

Type Parameters

T
The type of test object. Only an IWindow or an IDialog can be the top-level test object.
Public Method LaunchAut Overloaded. Launches an AUT using the file name. To use this method, you must create an application whitelist file. For details, see Add SDK code to your tests in the LeanFT Help Center.  
Top