IParametersAnnotation (TestNG)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng.annotations
Interface IParametersAnnotation

All Superinterfaces:
  IAnnotation

    public interface IParametersAnnotation

extends IAnnotation

Encapsulate the @Parameters / @testng.parameters annotation Created on Dec 20, 2005

Author:
  Cedric Beust

Method Summary
`java.lang.String[]` | `getValue()` The list of variables used to fill the parameters of this method.

Method Detail

### getValue

    java.lang.String[] getValue()

  The list of variables used to fill the parameters of this method. These variables must be defined in your testng.xml file. For example

  `@Parameters({ "xmlPath" })
  @Test
  public void verifyXmlFile(String path) { ... }
  `

  and in `testng.xml`:

  `<parameter name="xmlPath" value="account.xml" />
  `

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD