title: Selenium and testng .. testng.xml parser exception which makes no sense
body: <p><a href="https://i.stack.imgur.com/rb2oO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rb2oO.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/wuaSq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wuaSq.png" alt="enter image description here"></a>Code snip:</p>
  
  <pre><code> @Test    // checking the login functionality 
   @Parameters({"username" , "password"})
   public void TpPortalLogin(String username, String password)
                                                 throws InterruptedException, IOException
   {
      System.out.println("Page title before login: " +driver.getTitle());  
      System.out.println("username: "+username);  
      System.out.println( "password"+password);  
  </code></pre>
  
  <p>and here is the testng.xml file:</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="Suite" parallel="false"&gt;
      &lt;test name="TpPortalLogin"&gt;
      &lt;parameter name="browser" value="chrome"/&gt;
      &lt;parameter name="url" value="http://xyz.local/"/&gt;
      &lt;parameter name="username" value="somebody"/&gt;
      &lt;parameter name="password" value="something"/&gt;
          &lt;classes&gt;
              &lt;class name="com.parameterization.TestParameters" /&gt;
          &lt;/classes&gt;
    &lt;/test&gt; &lt;!-- Test --&gt;
  &lt;/suite&gt; &lt;!-- Suite --&gt;
  </code></pre>
  
  <p>Here is the exception:</p>
  
  <pre><code>org.testng.TestNGException: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 251;
      Attribute "parallel" with value "none" must have a value from
                                             the list "false methods tests classes instances ".
    at org.testng.TestNG.initializeSuitesAndJarFile(TestNG.java:325)
    at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:103)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:137)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:58)
  Caused by: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 251;
    Attribute "parallel" with value "none" must have a value from
                                           the list "false methods tests classes instances ".
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
  </code></pre>
  
  <p>Any thoughts would be appreciated.</p>
  
  <p>In the testng.xml there is no parameter "parallel" set to "none", so it makes no sense that the exception would complain about one.</p>
  
  <p>Thanks,</p>
  
  <p>CFR.</p>