Creating Table Project Elements

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

The project Stores > Tables collection contains elements that are used to verify data of controls that display values in the tabular form. You can add elements to the collection in several ways.

From the Project Explorer

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

  2. In the resulting wizard, specify the tabular control from which you want to get data, select data to be stored and set key columns.

Note: Data retrieved form a tabular control and stored in the Table element is saved in the .tcTbl file. Instead of retrieving data from an actual control when creating a Table element, you can upload data from an existing .tcTbl file.

When Creating Table Checkpoints

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

    – or–

    In a keyword test, add the 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 Table in the resulting wizard.

  2. In the Checkpoint wizard, select the tabular control from which you want to retrieve the data. Specify rows and columns you want to store, set the key columns and so on.

  3. TestComplete will add the appropriate Table element to the Tables collection automatically.

See Also

About Tables Collection
About Table Checkpoints
Adding and Removing Project Items and Their Child Elements
Recording Toolbar

Highlight search results