Files

Applies to TestComplete 15.45, last modified on December 01, 2022

The Stores > Files item of a TestComplete project contains a collection of arbitrary files (graphic, text, HTML, PDF, and so on) that your tests use.

The Files collection of a TestComplete project

Typically, these files are used for comparison and verification. For example, you may need to check whether a tested file stores the appropriate data or whether the tested application generates the same output data that was generated during the previous test run. In this case, you add a baseline file to the Files collection and compare it with the actual file. For information on using stored files for comparison purposes, see About File Checkpoints.

For information on how to read data from and write data to external files during testing, see Working With External Data Sources.

In This Section

Adding Files to the Files Collection

Describes how you can add files to the Files collection of the Stores project item.

Files Editor

Provides information on the Files editor and describes how you can use it to modify the Files collection.

Modifying Stored Files

Explains how to modify the contents of the files stored in the Files collection.

Updating Stored Files

Explains how to update the contents of the files stored in the Files collection.

Deleting Files From the Files Collection

Describes how to delete files from the Files collection.

Related Topics of Interest

About File Checkpoints

Contains information on creating file checkpoints, on comparing files byte-by-byte and on comparing files that have variable parts.

PDF Checkpoints

Contains information on creating PDF checkpoints and comparing text contents of PDF files.

Manual Checkpoints

Contains information on creating manual checkpoints. These checkpoints use the Files collection of the Stores project item.

See Also

Stores

Highlight search results