Table
TPT offers several assesslets to create tables, for example the Assesslets - Report Assesslet Summary Table.
You can also create tables by using the Script assesslet. In total, six headings are allowed. Cells can show various contents, like signal names and values.
tab = TPTReport.Table()
tab.setCaption("Table's caption")
# max 6 headers
tab.setHeader("1rst header", "2nd header", "3rd header")
# add rows
tab.addRow("row content 1", "row content 2", "row content 3")
tab.addRow("2nd row content 1", "2nd row content 2", "2nd row content 3")
TPTReport.add(tab);
This script adds the following table to the report.
Parameter table
Also a table containing all parameters of the test case can be generated. This is basically the same table which could have been generated using the signal table and filtering all parameters.
# generates a table with all parameters
TPTReport.add(TPTReport.ParameterTable());