public interface IParametersAnnotation extends IAnnotation
String[] getValue()
@Parameters({ "xmlPath" })
@Test
public void verifyXmlFile(String path) { ... }
and in testng.xml:
<parameter name="xmlPath" value="account.xml" />
Copyright © 2014. All Rights Reserved.