title: how to call testng.xml from java main method?
body: <p>I have testng.xml file created.
  Is there any way to run this file from java main method?</p>
  
  <p>Something like -</p>
  
  <pre><code>Class test {
    public static void main ( String [ ] args) 
    {
      Run(testng.xml);
    }
  }
  </code></pre>