Open topic with navigation

WindowDescription Class
Description of a window in a SAP GUI for Windows application.

C# Syntax

    public class WindowDescription : ElementDescription, HP.LFT.SDK.IDescription

Inheritance Hierarchy

System.Object
HP.LFT.SDK.PropertiesDescription
HP.LFT.SDK.Description
HP.LFT.SDK.SAP.GUI.ElementDescription
HP.LFT.SDK.SAP.GUI.WindowDescription

Public Constructors

| Name | Description
--- | --- | ---
| WindowDescription Constructor | Initializes a new instance of the WindowDescription class.

Top
Public Properties

| Name | Description
--- | --- | ---
| AbsoluteLocation | The element's coordinates relative to the screen in pixels. 0,0 is the top-left corner of the primary monitor. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription )
| Id | The element's unique identifier in text format. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription )
| Index | The 0-based index of this object, relative to all other objects with an otherwise identical description. (Inherited from HP.LFT.SDK.Description )
| IsMinimized | Indicates whether the window is minimized.
| Location | The element's coordinates relative to the parent's location in pixels. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription )
| Name | The name of the element. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription )
| Program | The name of the SAP source program that is currently executing.
| ScreenNumber | The number of the currently displayed screen.
| Size | The element's size in pixels. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription )
| Text | The text associated with the window.
| Transaction | The transaction the user is currently executing.
| Type | The numeric identification of the GUI component type. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription )
| Vri | Distinguishes this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application. (Inherited from HP.LFT.SDK.Description )
| WorkingPaneSize | The window's working pane size in character metric. The working pane is the area between the toolbar and the status bar.

Top
Public Methods

| Name | Description
--- | --- | ---
| Clone | Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )

Top