WindowManager Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Provides basic Win32 window management services like searching ...etc.
Inheritance Hierarchy

SystemObject
  ArtOfTest.Common.Win32WindowManager

Namespace:  ArtOfTest.Common.Win32
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public class WindowManager

The WindowManager type exposes the following members.

Constructors

  NameDescription
Public methodWindowManager
Create a new window manager
Top
Properties

  NameDescription
Public propertyStatic memberIEInstances
Public propertyItems
Returns the collection of windows populated by a call to GetWindows()
Public propertyVisibleWindowsOnly
Gets or sets whether to filter window to visible windows only. Default is false.
Top
Methods

  NameDescription
Public methodAppendWindows
Append all child windows of the passed in parentHwnd to the current collection. (Items)
Public methodStatic memberCenterSize
Calculate the correct point (x,y) for a specific size to be centered within a specific rectangle.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFindWindowRecursively(IntPtr, String, Int32)
Find a window recusively under the parent window. Will return the first window that matches the class name.
Public methodStatic memberFindWindowRecursively(IntPtr, String, Boolean, Int32)
Find a window recursively using its caption.
Public methodStatic memberFindWindowRecursively(IntPtr, String, Boolean, Int32, Int32)
Find a window recursively using its caption.
Public methodStatic memberFindWindowsRecursively
Finds all windows of a given class under the parent window.
Public methodStatic memberGetActiveScreen
Returns the active screen the user is using.
Public methodGetAllWindows
Populate the Items collection with all windows associated with this process including child windows of each.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetProcessDialogFrameWindows
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWindows
Populate the Items collection with all top level windows.
Public methodGetWindows(Process)
Populate the Items collection with all non-child windows associated with this process.
Public methodGetWindows(IntPtr)
Populate the Items collection with all child windows of the parent window passed in (Recursive)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRecommendSize
Recommend the actual size of the window to use.
Public methodStatic memberTileWindows
Tiles two windows
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference