Sys Object

Applies to TestComplete 14.10, last modified on June 5, 2019

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

Writing Scripts - Overview
Object Browser Naming Notation

Highlight search results