FitNesse. UserGuide. FitLibraryUserGuide.
NestedTables [add child]
An HTML cell can contain a table, and such tables can be treated as values. For example:

fitlibrary.specify.DoTable

check first cell string value
embedded1
embedded2
embedded1

In the table above, we check that the action first cell string value extracts a string from the nested table.

The fixture code is as follows:

public class DoTable extends DoFixture {
public String firstCellStringValue(Table table) {
return table.stringAt(0,0,0);
}
}



The type Table provides access to the cells of the embedded table.

A TableTypeAdapter is used whenever an argument or return type is of type Table. TableTypeAdapter is a MetaTypeAdapter.