title: Run testng methods across different tests in parallel
body: <p>I have more than one test tags in my <code>testng.xml</code> file that I am running using maven. I have set the parallel attribute at the suite level to methods and the thread-count as 5. The problem I am facing is that the tests are executed sequentially and only the methods inside the test cases are executed in parallel. To be more clear, though there are unused threads(Selenium nodes in the grid in my case) available the subsequent tests waits till all the methods in the previous test are executed.</p>
  
  <p>Here is the testng.xml that i have used,
      </p>
  
  <pre><code>&lt;suite name="Suite1" verbose="1" parallel="methods" thread-count="5" preserve-order="false"&gt;
    &lt;test name="Login" &gt;
      &lt;classes&gt;
         &lt;class name="testSuite.TestSet1" /&gt;
      &lt;/classes&gt;
    &lt;/test&gt;
  
    &lt;test name="Product Search"&gt;
      &lt;classes&gt;
        &lt;class name="testSuite.TestSet2"/&gt;
      &lt;/classes&gt;
    &lt;/test&gt;
  &lt;/suite&gt;
  </code></pre>
  
  <p>As I have more than 10 nodes available in my selenium grid, this behavior increases the execution time considerably and defeats the purpose of having a grid architecture. Please let me know if there's a way using which I can execute the test methods across the suite in parallel. I am sure that I am missing something silly, but could you please help me point that?</p>