Skip to main content

Run Data-Enabled TestNG Scenarios

Run Data-Enabled TestNG Scenarios

Use TestNG data providers for maintained Java/TestNG assets that still run through AIQ. For current Scenario Editor tests, prefer DPLs or approved AIQ test data sources when they can meet the same need.

  • Keep the data provider deterministic and easy to reset.
  • Use approved non-production test data.
  • Separate environment configuration from test data.
  • Log enough context to diagnose which data row failed without exposing secrets.

Validation workflow

  1. Run the TestNG suite locally or in CI with a small data set.
  2. Confirm dependency packaging and Java version compatibility.
  3. Execute from AIQ with a controlled data sample.
  4. Review output for data, classpath, and environment failures before scaling.

Last updated: September 8, 2026