Refresh Method

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

The Refresh method updates the tree of currently running processes, their windows and child objects which you can access either using the Sys object, or using the Object Browser panel. This helps you ensure that the tree corresponds to the actual processes running in the system, the windows they have and the objects that belong to these windows.

Declaration

TestObj.Refresh()

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

All processes, windows, controls and onscreen 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.

Remarks

This method has no effect on mobile applications. To update the object tree of the application running on a mobile device, use the RefreshAppiumContents method.

See Also

Sys Object
About Object Browser

Highlight search results