How to get the name of the TestSuite where the executable TestCase


1 Like

also i need to get the name of the current Testsuite collection

use Listner

class TestStatus {


* Executes after every test suite ends.

* @param testSuiteContext: related information of the executed test suite.



def sampleAfterTestSuite(TestSuiteContext testSuiteContext) {

KeywordLogger log = new KeywordLogger()

def testSuiteId = testSuiteContext.getTestSuiteId()

def testStatus = testSuiteContext.getStatus()




1 Like