How to get TestSuiteCollection name as test case or test suite?

Can I get test suite collection name like test case or test suite?
example:
String[] suiteId = testSuiteContext.getTestSuiteId().split(’/’)
String suiteName = suiteId[suiteId.length - 1]
I need to get the name for my customized test suite collection report.

1 Like