Sys Object Methods

Applies to TestComplete 14.0, last modified on January 23, 2019

The following methods are added to Sys object:

Method List

Name Description
AddNamedChild Adds the specified child object to Name Mapping.
Browser Returns a Browser object corresponding to the specified web browser or the currently active browser.
Child Returns a child object by its index.
Find Searches for a child object that has the specified property values.
FindAll Returns an array of child objects that have the specified property values.
FindAllChildren Returns an array of child objects that have the specified property values.
FindChild Searches for a child object that has the specified property values.
FindChildEx Searches for a child object that has the specified property values during the specified timeout period.
FindEx Searches for a child object that has the specified property values during the specified timeout period.
FindId Returns a child object by its identifier.
GetUnderlyingObject Returns the test object, to which the given mapping item corresponds.
HighlightObject Highlights a visible onscreen object with a flashing color rectangle.
Keys Sends key presses to the currently active window.
ObjectFromPoint Returns the object displayed at the specified coordinates on the screen.
Process Returns a Process object by its application name and index.
Refresh Refreshes the child object list.
RefreshMappingInfo Instructs TestComplete to re-identify the mapped object using the identification information specified in Name Mapping.
RemoveNamedChild Deletes the specified child mapped object from Name Mapping.
Restart Restarts the computer.
Shutdown Shuts down the computer.
Validate Obsolete. Generates the OnValidate event for the object.
WaitAliasChild Waits until the child object with the specified alias becomes available during the timeout period.
WaitBrowser Waits until the specified Browser object becomes available during the timeout period.
WaitChild Waits until the specified child object becomes available during the timeout period.
WaitNamedChild Waits until a child object with the specified mapped name becomes available during the timeout period.
WaitProcess Waits until the specified process object becomes available during the timeout period.
WaitProperty Waits until the specified object property achieves the specified value during the timeout period.
WindowFromHandle Returns a window by its handle.

See Also

Sys Object Properties

Highlight search results