Restore Action

Applies to TestComplete 15.45, last modified on December 01, 2022

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