TestComplete samples (both built-in and additional) are located in the <Users>\Public\Public Documents\TestComplete 12 Samples folder.
Some file managers display the Public Documents folder as Documents.
This topic will help you create a project that will store the project items needed for data-driven testing.
To create a project:
-
Select File | New | New Project from the TestComplete main menu. This invokes the Create New Project wizard:
-
On the first page of the wizard, specify the project name and the path and click Next.
-
On the next page, you can specify the type of the application to be tested by the project. Select Generic Windows application and click Next.
-
On the next page, you can add the Orders application to the project. To do this, click the Add button and use the ensuing Open File dialog to select the Orders application executable file. You can find it in the following folder:
<TestComplete Samples>\Desktop\Orders\C#\bin\Release\Orders.exe
Click Next.
-
On the last page, select any script language, for example, JavaScript, and click Finish.
TestComplete will create the project and display it in the Project Explorer panel. The Orders application will be added to the Tested Applications collection. You can view it in the TestedApps editor.
The described project suite is shipped with TestComplete. You can find it in the following folder:
<TestComplete Samples>\Common\Data-Driven Testing\KeywordTests\DDTSuite.pjs