Working With Files From Scripts

Applies to TestComplete 14.40, last modified on April 22, 2021

In your tests, you may often need to work with files on your hard drive. For example, to read files, write data to files, find a file, compare files, get file properties, and so on.

If you use DelphiScript, you can use its native file operations built into TestComplete. See DelphiScript Routines.

If you use any other supported scripting language, for example, JavaScript, JScript, Python, VBScript and so on, you can:

This section provides several examples of working with files from scripts.

In This Section

Related Topics of Interest

Highlight search results