Top Description Methods
org.testng.annotations

public @Interface CustomAttribute

extends Annotation
Annotations
@Retention:RUNTIME
@Target:METHOD, TYPE
Static Imports
java.lang.annotation.ElementType.METHOD, .ElementType.TYPE

Represents a means to add in custom attributes to @Test annotated tests.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

- The name for the custom attribute
name
()

public String[]

Returns:

- The custom attribute values as an array.
values
()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()
Returns:String

- The name for the custom attribute

valuesback to summary
public String[] values()
Returns:String[]

- The custom attribute values as an array.