I just ran a Test Suite Collection in KSE 10.3.1 on Windows 11 and see that the mailed report now defaults to summarising by Test Suites passed. Previously it gave the overall number of test cases and pass/fail/error results.
eg my mailed Test Collection Report records 4 passes and 1 fail (counting the contained test suites). The number of test cases is not contained in the mail - I actually had 6 test case failures and these are ‘hidden’ somewhat by counting as only a single test suite failure (which would conceivably be a fail for between all or only one test case in the suite)
The last time I ran this in KSE 10.1 I was informed of 51 passes for test cases, 1 failure - much more useful.
The documentation below indicates that the email report is choosing to show number of test suites passed/failed instead of test cases passed/failed:
Share test reports via email in Katalon Studio | Katalon Docs
Hi @Dan_Bown,
You get the correct understanding. In previous versions (≤ 10.1), email reports summarized at the test case level → total test cases run, how many passed, failed, errors, … Now (≥ 10.3.1), email reports summarize at the test suite level → counts how many suites passed/failed.
A suite with 1 failure out of many test cases is simply reported as a suite failure (hiding the number of failed cases inside). This explains why your email showed “4 passes, 1 fail” even though there were actually 6 failed test cases inside one suite. Hope this can help
Thank you for explaining - I will need to check whether this new format suits the team or whether we need to use one larger test suite (rather than the current setup of smaller test suites contained in a collection)
Hi Dan,
For my team, we need the pass/fail status at the test case level. How can we setup that and get the count in the report email?
Simply, you can’t. You can not make a Test Suite Collection to report the count of test cases as of v10.3.1. They changed the design. And the Katalon’s report is not configurable.
I suppose that this idea of Dan_Bown is a feasible alternative. In other words, it is better to avoid using Test Suite Collection if you want to get the count of Test Cases that PASSED/FAILED.
Let me suggest one more alternative idea. Let me assume that you, @ami.das, run a big Test Suite Collection in a CI/CD workflow using Katalon Runtime Engine. In that case, you should be able to split the single workflow into several workflows that executes a Test Suite each. I think the set of smaller workflows will perform better than a single workflow for a large Test Suite Collection.
What’s better?
- the smaller reports will be easier to read; it can show the counts of Test Cases
- you would be able to configure the CI/CD so that it runs the smaller workflows in really parallel and hopefully faster
Hi @ami.das
there is some configuration you can do in the mail template but you are limited in what the test suite collection will show. As @Elly_Tran mentions above, the grid totals only consider the test suite count, not the numbers of test cases within (ie a test suite is counted as 1 fail no matter how many failed test cases are within it).
A suggestion:
You may list all the failed test cases in the body of the mail so although they need to be counted manually, they are visible. To do so, you have two choices here:
${tsc_case_result_table}
${tsc_case_result_table_minimal}
The latter displays only failed TCs whereas the first option shows everything. Simply add parameters into the mail template, as documented here:
Share test reports via email in Katalon Studio | Katalon Docs
Or as @kazurayam points out, you also have the option of running test suites individually in a pipeline (or perhaps putting ALL test cases in the same suite - not necessarily recommended!)
Cheers Dan