The following macros are not currently supported in the header:
  • style

runTestNGSuite

Runs a TestNG test suite from an XML file. Property Replacement will be performed on the file.

Environment/Instance Properties

Property Name

Property Code

Required

Description





Project Properties

Property Name

Property Code

Required

Description





Inputs

Input Name

Input Code

Required

Description

Path to Test Suite

FDTNG_PATH_TO_TEST_SUITE

Yes

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.

Classpath

FDTNG_PATH_ELEMENT_CLASS_PATH

No

The Java classpath to locate the test suite, test cases, and dependent classes.

Outputs

Output Name

Required

Description




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 environment instance.

Selecting a specific resource will result in selection of endpoints associated to the environment instance 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.

The following macros are not currently supported in the footer:
  • style