Data-Driven Testing Samples

Applies to TestComplete 15.69, last modified on November 13, 2024

About

Data-driven Testing samples demonstrate how to use the data-driven approach in testing.

These samples are a part of the additional sample package. To use them, download this package from support.smartbear.com/testcomplete/downloads/samples and install it.

After the installation is over, you can find the samples in the <TestComplete 15 Samples>\Common\Data-Driven Testing folder.

The folder includes both the project suite that uses scripts and the project suite that uses keyword tests.

Files

TestComplete project suites that use scripts

<TestComplete 15 Samples>\Common\Data-Driven Testing\Scripts

The sample is used by the Data-Driven Testing With Scripts - Tutorial that describes a step-by-step procedure of creating data-driven tests with scripts in TestComplete. The script tests the OrdersDemo application, which is used to configure a table of purchase orders. The script reads data from an Excel sheet and adds new records to the table.

TestComplete project suite that uses keyword tests

<TestComplete 15 Samples>\Common\Data-Driven Testing\KeywordTests

The sample is used by the Data-Driven Testing With Keyword Tests - Tutorial that describes a step-by-step procedure of creating data-driven tests with keyword tests in TestComplete.

Excel file used by the data-driven test

<TestComplete 15 Samples>\Common\Data-Driven Testing\TestBook.xlsx

See Also

TestComplete Samples
Data-Driven Testing - Basic Concepts
Using Keyword Tests for Data-Driven Testing
Getting Started With TestComplete
Video Tutorials (web)

Highlight search results