Skip to main content

Specify iteration names in data-driven testing reports

When a test case is executed with a test data row, it is counted as an iteration. This document shows you how to differentiate iterations in test reports.

note
  • This feature is available for data-driven tests with test suites. The changes only apply in the test suite reports and the Test Case Table.
  • To learn more about data-driven tests, see Data-driven Testing with Katalon Studio.

When working with data-driven tests, to quickly identify failed data inputs and parts of the application under test (AUT) that might have a problem, you can add a specific variable from the data file at the end of each iteration name. With this input for iteration name or iteration names, you can differentiate between each iteration in your data-driven testing reports at a glance.

Set iteration names in data binding

To set iteration names using one of the variables in the test data, do as follows:

  1. Perform data-binding from internal data, Excel, CSV, or database data. To learn more about data binding, see Run Test Case with an external data source.
  2. In the Variable binding section, click on the Select toggle next to Set Test Name.
Set test name
  1. A list of variables appears. Choose an option to add to your iteration name.
select variable name
  1. Save and run your test.

View data-driven testing reports

In test cases table

After you set iteration names in data binding, locate and open your test report under Reports. In the Test Cases Table, you can see your iteration names are marked with the variable in the following syntax: ”Test case name”/”Data binding value” (”Elapsed time”).

Test case table

To learn more about Test Case Table and reports, see Test Suite and Test Suite Collection Reports.

In other reports

Katalon Studio supports exporting your test suite execution to HTML, CSV, and PDF formats. The iteration names are marked with the data binding value in the following syntax: "Test Case ID" | "Data binding value".

info
  • Katalon Studio version 10.2.0 and is required to view iteration names in CSV and PDF reports.
  • This syntax is also supported in Test case result table of email reports. To learn more email reports, see: Share test reports via email.
  • In HTML report:

    View iteration names HTML report
  • In CSV report (available from 10.2.0):

    View iteration names in CSV report
  • In PDF report (available from 10.2.0):

    View iteration names in PDF report

To learn how to export reports to other formats, see Export reports to other formats.

Was this page helpful?