Creating a Printable Report
To add the test data ReadyAPI collects to a printable report, you need to include the subreport in the main report.
Select Project > Reporting from the main menu.
Switch to the Subreports tab.
To add a new custom subreport, click
.
In the Add Subreport dialog:
Enter the subreport name –
.Select the
subreport type.Select the
subreport data source.Select the
subreport template.Click OK.
Replace the content of the new subreport with the following:
This creates a tabular layout. The names of its fields and the names of data sink step properties are identical.
Switch to the Available Reports tab.
Click
to copy the existing Test Case Report report.
Click
to change the name of the copy.
Click the new copy.
In the editor under the table, remove or comment out the following lines:
Add the following code after the commented lines:
Here you add the CityDataResult subreport to the report template and fill it with the data sink data.
Important
dataSourceExpression
should match the name of the data sink test step.Now you can create a test case report. Switch to the test case page.
Click
.
The Create Report dialog will appear.
In the Type list, select the template you have modified.
Click OK to finish the creation.
The result should look as follows:
![]() |