Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.testng.annotations
Annotation Type Parameters

    @Retention(value=RUNTIME)
    @Target(value={METHOD,CONSTRUCTOR,TYPE})
    public @interface Parameters

Describes how to pass parameters to a @Test method.

Author:
  Cedric Beust

Optional Element Summary
`java.lang.String[]` | `value` The list of variables used to fill the parameters of this method.

### value

    public abstract java.lang.String[] value

  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" />
  `

  Default:
    {}

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT