You need to group your Selenium tests using TestNG. How would you define and use test groups in TestNG?
Use the TestNG XML configuration file to specify test groups.
Use the mvn testng:test command to execute tests in specific groups.
Use the @Test(groups = "") annotation to define test groups.
Manually specify the test groups in the test classes.
Submit