This tutorial describes the basic steps you need to take to create a report in ReadyAPI.
Follow these steps to create a default printable test suite report:
-
Open the Sample SOAP Project and start its virtual API.
-
Open the Simple Test Suite.
-
Click to run the test suite and wait untill the test run finishes:
-
Сlick Report on the toolbar to start working with reports.
-
Select the Test suite printable report type:
-
Click OK to generate a report.
-
ReadyAPI will create a report and display it. Click and select the file format to save the report to:
The options available in the Create Report dialog are specific to the actual report. They appear only if they can get matching data. There are no errors or coverage data in the sample report, so, both these options were unavailable.
To rerun your test with coverage enabled:
-
Switch to the test suite Coverage page.
-
Select Enable Coverage:
-
Run the test suite once again.
-
Click on the toolbar.
-
Select only the Include Test Suite Coverage option.
-
Click OK.
Fonts in Linux
ReadyAPI reports use some of Microsoft core fonts. Not all Linux installations include these fonts. If you have issues with creating reports:
-
Install the mscorefonts package applicable for your Linux distributive.
-
Copy TTF files from /usr/share/fonts/truetype/msttcorefonts to the <ReadyAPI Installation>/jre/lib/fonts directory.
Make sure to specify the <ReadyAPI Installation>/bin/reports directory in the Custom Reports Library field of the ReadyAPI tab in the Preferences window.
See Also
JUnit-Style HTML Reports For Automation
Data Export For Automation
Configuring Report Templates