Getting Started With Reporting

Applies to ReadyAPI 3.56, last modified on November 21, 2024

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:

  1. Open the Sample SOAP Project and start its virtual API.

  2. Open the Simple Test Suite.

  3. Click to run the test suite and wait untill the test run finishes:

    ReadyAPI: The finished test suite

    Click the image to enlarge it.

  4. Сlick Report on the toolbar to start working with reports.

  5. Select the Test suite printable report type:

    ReadyAPI: The Create Report dialog

    Click the image to enlarge it.

  6. Click OK to generate a report.

  7. ReadyAPI will create a report and display it. Click Save and select the file format to save the report to:

    ReadyAPI: The default test suite report

    Click the image to enlarge it.

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:

  1. Switch to the test suite Coverage page.

  2. Select Enable Coverage:

    ReadyAPI: The Coverage tab of the test suite

    Click the image to enlarge it.

  3. Run the test suite once again.

  4. Click on the toolbar.

  5. Select only the Include Test Suite Coverage option.

  6. 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:

  1. Install the mscorefonts package applicable for your Linux distributive.

  2. 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

Watch the video
 
Highlight search results