JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
org.testng.annotations
CustomAttribute
Contents
Description
Required Element Summary
Optional Element Summary
Element Details
name
values
Hide sidebar
Show sidebar
Annotation Type CustomAttribute
@Retention
(
RUNTIME
)
@Target
({
METHOD
,
TYPE
})
public @interface
CustomAttribute
Represents a means to add in custom attributes to @
Test
annotated tests.
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
String
name
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
String
[]
values
Element Details
name
String
name
Returns:
- The name for the custom attribute
values
String
[]
values
Returns:
- The custom attribute values as an array.
Default:
{}