Creating Table Project Elements

Applies to TestComplete 12.60, last modified on September 17, 2018

The Tables collection of the Stores project item 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.

Adding Table Elements 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 ensuing Add Table 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.

Adding Table Elements When Creating Table Checkpoints

  1. During test recording, click Add Check on the Recording toolbar and then select Object property 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 Object property in the resulting wizard.

  2. In the Checkpoint wizard, select the tabular control from which you want to retrieve the data. Then select Table Data and 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