Is there any workaround to set the SuiteName at the time of test execution, same as we can achieve for Test Name using ITest Interface.
Asked
Active
Viewed 98 times
1 Answers
1
This works perhaps. I have not tested it yet.
Reporter.getCurrentTestResult().getTestClass().getXmlClass().setName("NewName");

Prakash Saravanan
- 586
- 5
- 15