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
Right-click the Stores > Tables node in the Project Explorer and then select Add > New Item from the context menu.
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
During test recording, click Add Check on the Recording toolbar and then select Table in the resulting wizard.
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.
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.
TestComplete will add the appropriate Table element to the Tables collection automatically.
About Tables Collection
About Table Checkpoints
Adding and Removing Project Items and Their Child Elements