![]() |
The manual testing functionality is deprecated. Do not use it for creating new tests. It will be removed in a future TestComplete release. |
The Insert Table dialog is displayed when you press the item in the manual test editor (this item is only available if you use the HTML format for step instructions). In this dialog you can specify properties of the table to be inserted:

Using this dialog you can quickly specify the desired properties of the new table. You can modify the table properties any time later in the Source edit box in the manual test editor.
-
Basic
-
Number of rows - Specifies the number of rows the table will contain.
-
Number of columns - Specifies the number of columns the table will contain.
-
Treat the first row as a header - If this check box is selected, the first row of the table will be a header (it will be placed in the THEAD tags).
-
Auto-fit to page width - If this check box is selected, the table columns will be resized so that the table fits the page.
-
Column auto-width - If this check box is selected, the width of the table's columns will depend on the cell contents. If the check box is cleared, the columns will have the same width.
-
-
Cell margin
-
Cell spacing - Specifies the space between table cells in pixels.
-
Cell padding - Specifies the space between the cell border and cell contents in pixels.
-
-
Border
-
Width - Specifies the border’s width in pixels.
-
Color - Specifies the border’s color.
-
Frame - Specifies the style of the table’s border. This property is analogue to the FRAME attribute of the TABLE element. You can use one of the following values to specify the table’s border:
above Only the top border is displayed. below Only the bottom border is displayed. border All borders are displayed. box All borders are displayed. hsides Only the top and bottom borders are displayed. lhs Only the left border is displayed. rhs Only the right border is displayed. void No borders are displayed. vsides Left and right borders are displayed. -
Rules - Specifies the cells’ borders style. This property is analogue to the RULES attribute of the TABLE element. You can use one of the following values:
all All cell borders are displayed. cols Only borders between columns are displayed. groups Only horizontal borders between THEAD, TBODY and TFOOT objects and vertical borders between COLGROUP objects are displayed. none Cell borders are invisible. rows Only horizontal rows are visible.
-
To view the table with the applied properties, select the Show preview check box. The dialog will display the preview section on the right. To hide this section, clear the Show preview check box.
To add a table with the specified parameters, press OK. Cancel will close the dialog without any changes.