Window Object

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

All the Win32 application windows are accessed through window objects in TestComplete tests: top-level, child and popup windows. Top-level and popup windows belong to a process object; child windows belong to a parent window (popup windows, of course, have no children.) Both process and window objects have a method, Window, that returns any window they own by specifying its class and, optionally, its caption (that is, its index within siblings of the same class):

See Object Tree Models for more information on windows hierarchy.

Window objects share the properties and methods of all tested objects and onscreen objects. They contain properties for the window’s caption, class name, index and handle, as well as the methods that change its size and position, and give it the focus.

Members

See Also

Process Object
Onscreen Object

Highlight search results