Annotation Interface TestInstanceParameter


@Documented @Retention(RUNTIME) @Target(FIELD) public @interface TestInstanceParameter
You can use this annotation to add test instance parameters to your TestNG tests.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of parameter.
  • Element Details

    • value

      String value
      The name of parameter.
      Default:
      ""