testng 7.10.2
org.testng.annotations
CustomAttribute
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 Type
Method 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
:
annotationType
equals
hashCode
toString
Method Detail
name
back to summary
public
String
name
()
Returns:
String
- The name for the custom attribute
values
back to summary
public
String
[]
values
()
Returns:
String
[]
- The custom attribute values as an array.