TestComplete samples (both built-in and additional) are located in the <Users>\Public\Public Documents\TestComplete 15 Samples folder.
Some file managers display the Public Documents folder as Documents.
Data-driven testing means running automated tests that simulate user actions over an application with different input data. This way you provide larger coverage and ensure that the application works properly with different data rather than with just one set of values.
Topics of this section describe TestComplete features that provide support for data-driven testing and explain how to create tests of this kind with TestComplete:
Data-Driven Testing - Basic Concepts
Preparing Data for the Data-Driven Testing
Using Scripts for Data-Driven Testing
Using Keyword Tests for Data-Driven Testing
Using Excel Files as Data Storages
Using CSV Files as Data Storages
Using Database Tables as Data Storages
Data-Driven Testing - Retrieving Input Data from Storage
TestComplete help file includes two tutorials that demonstrate how to create data-driven tests with TestComplete:
You can explore the following script example to learn how to use an Excel file as a data source for your test and how to extract data from the Excel file:
Using DB Table Variables to Retrieve Data From Excel Files
To learn more about data-driven testing, you can also read the following article:
To view this file you must have Adobe Acrobat Reader installed.
You can use a sample project that illustrates data-driven testing. To do this, download the TestComplete Samples installation package from the following page of our website and run it:
After the installation, you can find the sample in the following folder:
<TestComplete Samples>\Common\Data-Driven Testing\TestBook.xlsx
TestComplete project suites:
<TestComplete Samples>\Common\Data-Driven Testing\Scripts