Creating DBTable Project Elements

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

The DBTables collection contains elements that are used to verify that databases store appropriate values. You can add DBTable project elements to your project in several ways.

Adding DBTable Elements From the Project Explorer

  1. Right-click the Stores > DBTables node in the Project Explorer and then select Add > New Item from the context menu.

  2. In the ensuing Select Database Table wizard specify connection settings to connect to the desired database, the source of the data and the records to be stored.

Adding DBTable Elements When Creating Checkpoints

  1. During test recording, click Add Check on the Recording toolbar and then select Database in the resulting wizard.

    – or–

    In a keyword test, add the Database Table Checkpoint operation to the test at design time.

    – or –

    In a script test, click Add Checkpoint on the Code Editor toolbar and then select Database in the resulting wizard.

  2. In the Checkpoint wizard, specify connection settings that TestComplete will use to connect to the database, the data source and records to store.

  3. TestComplete will add the appropriate DBTable element to the DBTables collection automatically.

See Also

About DBTables Collection
About Database Checkpoints
Adding and Removing Project Items and Their Child Elements
Recording Toolbar

Highlight search results