IDesktopEnvironment Interface

Represents an environment on which UFT Developer performs test operations.

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 UFT Developer Help Center.  
Public Method Release

Supported on UFT Developer versions 15.0.1 and later

Releases the environment, if it was locked as a grid node.

C# Syntax

void Release()
Top