> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# runTestNGSuite

> Runs a TestNG test suite from an XML file. will be performed on the file. Inputs Input Name Input Code Required Description Path to Test Suite FDTNG P

Runs a TestNG test suite from an XML file. [Property Replacement](https://docs.flexagon.com/flexdeploy-10-0-documentation/flexdeploy-variables-guide/property-replacement-support.md) will be performed on the file.

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Path to Test Suite</td><td>`FDTNG_PATH_TO_TEST_SUITE`</td><td>Yes</td><td>Path to the TestNG test suite XML file. (e.g. /path/to/file.xml) If a relative path is given, a path inside the FD\_ARTIFACTS\_DIR will be assumed.</td></tr><tr><td>Classpath</td><td>`FDTNG_PATH_ELEMENT_CLASS_PATH`</td><td>No</td><td>The Java classpath to locate the test suite, test cases, and dependent classes.</td></tr></tbody></table>

# Artifacts

This operation doesn't consume or produce any artifacts.

# Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the Target.

Selecting a specific resource will result in selection of endpoints associated to the Target which have that resource defined.

# Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.

# Special Considerations

TestNG annotations are supported. The TestNG documentation can be found at [http://testng.org/doc/documentation-main.html](http://testng.org/doc/documentation-main.html).
