Select CSV File Page (DB Table Variable Wizards)

Applies to TestComplete 15.70, last modified on December 17, 2024

On the Select CSV File page, you can specify the name of a CSV file that will be used as a storage for the needed data. The current record of this file will be stored to the DB table variable that you are adding to the test.

The Select CSV File page is part of the wizards that assist you in adding DB Table variables to your test. These wizards are: Add Variable to Keyword Test and Add Variable.

You can either specify an existing CSV file or create a new CSV file and specify it as a data storage:

  • To specify an existing file, enter its relative path in the File Name edit box. As an alternative, click the ellipsis button and select the needed CSV file (.txt or .csv) via the standard Open File dialog.

    You can edit the selected CSV file just from the wizard. Clicking the Edit File button opens the file for editing.

  • To create a new CSV file, enter its path and name in the File Name edit box and click the Create File button. TestComplete will create a CSV file with the specified name in the specified location and open it for editing.

After you have specified the desired CSV file, click Finish to add the specified DB table variable to your keyword test. Back will return you to the previous page of the wizard. Cancel will close the wizard and abort adding the variable.

After adding the new DB table variable, you can use its value in other keyword test operations. For example, you can create data loops storing the current value of a database or a file to the DB table variable and using these values in cycles. To learn more about creating data loops in keyword tests, see the reference of the Data-Driven Loop operation.

See Also

Add DB Table Variable Wizard
Add Variable to Keyword Test Wizard
Add Variable Wizard

Highlight search results