I am learning TestNG and working on parameterization. I created a new java class and then I created a new testng.xml file. I included the class name in the xml file. But I tried to run the testNG.xml file as TestNG Suite nothing will work.
Please see to the java class,
public class Test1 {
@Test
public void test_Firefox()
{
System.out.println("Test_Firefox method..");
}
}
Testng.xml file,
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Suite1" verbose="1" >
<test name="Test" >
<classes>
<class name="com.multibrowser.Test1" />
</classes>
</test>
</suite>
Please help me in this.