Reputation: 1
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.
Upvotes: 0
Views: 128
Reputation: 656
This works perhaps. I have not tested it yet.
Reporter.getCurrentTestResult().getTestClass().getXmlClass().setName("NewName");
Upvotes: 1