GE HealthCare Interview Question

How to achieve grouping in testng