title: Unable to run the Regression group in testng.xml file for different browsers
body: <p>I have configured the testng.xml file to run the Regression group in different browsers.Below is the testng.xml code for the same. </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="SeleniumSuite" verbose ="1" thread-count = "1" parallel="false"&gt;
  
   &lt;**test** name="FirefoxTest"&gt;
    &lt;groups&gt;
          &lt;run&gt;
              &lt;include name="Regression"&gt;&lt;/include&gt;
          &lt;/run&gt;
      &lt;/groups&gt;
   &lt;parameter name="browser" value="firefox" /&gt;
   &lt;classes&gt;
   &lt;class name="Testscript.Program111_RediffLogin" /&gt;
   &lt;/classes&gt;
  
   &lt;/test&gt;
   &lt;test name="IETest"&gt;
    &lt;groups&gt;
          &lt;run&gt;
              &lt;include name="Regression"&gt;&lt;/include&gt;
          &lt;/run&gt;
      &lt;/groups&gt;
   &lt;parameter name="browser" value="ie" /&gt;
   &lt;classes&gt;
   &lt;class name="Testscript.Program111_RediffLogin" /&gt;
   &lt;/classes&gt;
   &lt;/test&gt;
  &lt;/suite&gt;
  </code></pre>
  
  <p>when I hover the mouse on the  tag, it displays an error message as "<strong>The content of element type "test" must match "(method-selectors?,parameter*,groups?,packages?,classes?)</strong>".At the Test class level I have defined all the parameters properly for the regression test to run.But still I am seeing the error in the testng.xml file.Can any one of you look into this and help me!</p>
  
  <p>Please find the test case I am using for the automation</p>
  
  <pre><code>@Test(groups={"Regression"},dataProvider = "hashmapdataprovider",dataProviderClass =Dataprovider.Dataprovider_Hashmap.class,priority=1 )
  public void validLogin(Map&lt;String,String&gt; hm) throws IOException
  {
      pageobjects.Signin();
  driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);    
      OriginalExcelRW Excel = new OriginalExcelRW("F:\\anand_acer\\selenium\\rediffbooks.xlsx");
      XSSFSheet s1 = Excel.Setsheet("Sheet1");
      SoftAssert s_assert = new SoftAssert();
      if (hm.get("Executionflow").contains("anand"))
      {
  
      pageobjects.Username1(hm.get(Excel.Readvalue(s1, 0, 2)));
      pageobjects.pass1(hm.get(Excel.Readvalue(s1, 0, 3)));
      //s_assert.assertEquals(hm.get(Excel.Readvalue(s1, 0, 2)), hm.get(Excel.Readvalue(s1, 0, 3)), "both the usssser Ideee and password doesnt matches");
      //logger.info("Usssser Ideeee");
      pageobjects.login();
      s_assert.assertTrue(true, "login success");
      //logger.info("The login was success");
      System.out.println("Valid login is passed");
      pageobjects.signout();
      pageobjects.Signin();
      //pageobjects.cleartext();
      }
      s_assert.assertAll();
      }
  </code></pre>