title: What happens under the hood when running testng.xml to trigger testng?
body: <p>I know what to write inside the testng.xml file. I also know several ways to trigger testng. What I want to understand is what happens when running the xml file. What underlying code are there that support us to trigger Testng by just running the file? Is it the same as running java org.testng.TestNG testng.xml command line?</p>