Restore Action

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

Description

This action brings any top-level or MDI-child window back to normal, from a maximized or minimized state. It has no effect on popup windows and controls, except that an error message is inserted into the test log.

Declaration

TestObj.Restore()

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Result None

Applies To

The method is applied to the following objects:

View Mode

To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Result Value

None.

Example

To view an example that demonstrates how to use the Restore action, see Simulating User Actions on Application Windows.

See Also

Activate Action
SetFocus Method (BrowserWindow and Window Objects)
Maximize Action
Minimize Action

Highlight search results