All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.annotations.IParametersAnnotation Maven / Gradle / Ivy

package org.testng.annotations;

/**
 * Encapsulate the @Parameters / @testng.parameters annotation
 *
 * Created on Dec 20, 2005
 * @author Cedric Beust
 */
public interface IParametersAnnotation extends IAnnotation {
  /**
   * 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" />
*
*/ public String[] getValue(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy