Sys Object

Applies to TestComplete 15.46, last modified on January 09, 2023

Description

The Sys object “represents” the system in your tests -- everything outside TestComplete. Its methods and properties allow you to control test execution, interact with active windows, simulate key presses, and so on. For instance, the following code assigns the clipboard contents to cl:

JavaScript, JScript

cl = Sys.Clipboard;

Python

cl = Sys.Clipboard;

VBScript

cl = Sys.Clipboard

DelphiScript

cl := Sys.Clipboard;

C++Script, C#Script

cl = Sys["Clipboard"];

Members

See Also

About Script Tests
Object Browser Naming Notation

Highlight search results