I\'m writing a suite.xml for an own testframework based on TestNG. My xml file looks like:
&l
For this rather than assigning parameters in test suite xml you can assign parameters for your tests individually . for that you don't have to add each parameter in suite.xml .
@Parameters({ "datasource", "jdbcDriver" })
@test
public void sampleTest(String ds, String driver) {
// your test method
}
Hope this will help you 1
http://testng.org/doc/documentation-main.html#parameters