title: Testng with multiple suites. @AfterSuite method closes driver after 1st suite and 2nd suite can't be run
body: <p>I use <code>testng</code> for running tests. I have several test suites(<em>Suite1.xml</em>, <em>Suite2.xml</em> and <em>Suite3.xml</em>), which are combined in one suite (<em>MasterSuite.xml</em>). Besides those, I have the class <code>TestBase.java</code>, where I configure such methods as <code>@BeforeTest</code>, <code>@BeforeMethod</code>, <code>@BeforeSuite</code>, <code>@AfterSuite</code>, etc. </p>
  
  <p>Running the <code>@AfterSuite</code> method closes the driver (<code>driver.quit()</code>).</p>
  
  <p><strong>What I want:</strong> run <code>MasterSuite</code> which will run all my 3 suites one after another.</p>
  
  <p><strong>The problem:</strong> after the first suite (<code>Suite1</code>) is executed, the driver is closed and thus, <code>Suite2</code> can't be run. </p>
  
  <p>How can I resolve this issue/problem?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" &gt;
  &lt;suite name="MasterSuite"&gt;
      &lt;suite-files&gt;
          &lt;suite-file path="Suite1.xml" /&gt;
          &lt;suite-file path="Suite2.xml"/&gt;
          &lt;suite-file path="Suite3.xml"/&gt;
      &lt;/suite-files&gt;
  &lt;/suite&gt;
  </code></pre>