GE HealthCare interview question

How to achieve grouping in testng