+1 vote
in TestNG by
Why do we create the XML file in TestNG?

1 Answer

0 votes
by
We use the XML file in TestNG for many purposes. The TestNG XML file helps us:

To run multiple tests in a single execution.

Secondly, it also helps us to include and exclude the test methods and groups.

Thirdly, it also helps us to add dependencies in groups.

Fourthly, it helps to run the test case methods through parameters.

Finally, it assists in the execution of the parallel test execution.

Related questions

+1 vote
asked Apr 19, 2021 in TestNG by rajeshsharma
+1 vote
asked Apr 19, 2021 in TestNG by rajeshsharma
...