0 votes
in TestNG by
Define the correct order of tags in the TestNG XML file.

1 Answer

0 votes
by

The correct order followed to run the TestNG suite from the XML file is as follows:

<suite>

<test>

<classes>

<class>

<methods>

<suite>

<test>

<classes>

<class>

<methods>

The closing tags don’t appear here as it is just for demonstration purposes. Subsequently, you can learn more about How to run TestNG suites through XML?

 

...