Getting Test Suite Collection run status

I want to get number of test suites runs in a Collection and its status as how many test suites got passed, failed and errored out.

When I ask this question from Katalon StudioAssist, it gave me a solution. But I don’t see following imports and seeing errors.

Does Katalon have TestSuiteCollectionContext, AfterTestSuiteCollection and BeforeTestSuiteColletion ?

No. Katalon StudioAssist lied. You got a hallucination from AI.

In this forum, some people have expressed their longing for @BeforeTestSuiteCollection and @AfterTestSuiteCollection. Maybe AI was trained with their description texts. Consequently AI learned something imaginary.

There is nothing called After and Before testsuitecollection, only testcase and testsuite.
But incase you really need those stats, download the report it says all numbers about the collection run and even covers some more information with each suites got executed

Just for your interest, have a look at my previous project

The custom keyword looks into the Reports folder, identify the latest Test Suite Execution (TSC for short), find the JUnitReport.xml files of the Test Suites executed in the TSC, calculate the duration of the TSC in seconds, display the duration in the console.

Please note that the keyword works on the JUnitReport.xml files in the Reports folder of “already-finished Test Suite Collection”. It can not find the status of a Test Suite Collection while it is still running.

those classes and annotations don’t exist in Katalon Studio. you only get @BeforeTestSuite, @AfterTestSuite, @BeforeTestCase, and @AfterTestCase. there’s no hook for test suite collections