Class ParametersAnnotation

    • Constructor Detail

      • ParametersAnnotation

        public ParametersAnnotation()
    • Method Detail

      • getValue

        public java.lang.String[] getValue()
        Description copied from interface: IParametersAnnotation
        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" />

        Specified by:
        getValue in interface IParametersAnnotation
      • setValue

        public void setValue​(java.lang.String[] value)