@Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR,TYPE}) public @interface Parameters
| Modifier and Type | Fields and Description |
|---|---|
static String |
NULL_VALUE |
public static final String NULL_VALUE
public abstract String[] value
@Parameters({ "xmlPath" })
@Test
public void verifyXmlFile(String path) { ... }
and in testng.xml:
<parameter name="xmlPath" value="account.xml" />
Copyright © 2025. All rights reserved.