Data-Driven Testing

In order to run the same test with different values, you can attach Test Data (parameters) file to your test. You can upload or change your test data in Parameters tab in Test Case or Test Suite screens.

In the following example, you can see a parameter file that the test called 'Web Test' will use.

Click the picture to view example for parameter file

You can control how parameter file is being read by selecting one of the following options in "Fetch parameters" field of "Settings" tab in Test Case or Test Suite screens:

  • Sequential - select the next test data row sequentially per each test iteration

  • Random - randomly select the next data row per each test iteration

Using your test parameters in your test scripts is framework specific. Select your framework below to learn how to access CloudBeat-stored test data in your code:

  • Oxygen

  • TestNG

  • JUnit 5

  • MS Test

  • Cucumber (with JUnit 4)