In a selenium TestNG project, we use testing.xml file to configure the complete test suite in a single file.
- TestNG.xml file allows to include and exclude the execution of test methods and test groups
- It allows to pass parameters to the test cases
- Allows to add group dependencies
- Allows to add priorities to the test cases
- Allows to configure parallel execution of test cases
- Allows to parameterize the test cases