public class ParametersAnnotation extends BaseAnnotation implements IParametersAnnotation
| Constructor and Description |
|---|
ParametersAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getValue()
The list of variables used to fill the parameters of this method.
|
void |
setValue(java.lang.String[] value) |
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClasspublic java.lang.String[] getValue()
IParametersAnnotation
@Parameters({ "xmlPath" })
@Test
public void verifyXmlFile(String path) { ... }
and in testng.xml:
<parameter name="xmlPath" value="account.xml" />
getValue in interface IParametersAnnotationpublic void setValue(java.lang.String[] value)