Sometimes we want to preconfigure which flows or parts of our main tests should be executed. We can do it dynamically based on our application, but sometimes there is

A much simpler solution.

This solution includes True/False values on your CSV file that you upload to TestProject as a data source, you can then use this data-source to run your tests, you will have option to determine which sub-tests the main test should execute.

For example this is my main test:

image

These are the parameters:

image

These are the conditions on the sub-tests:

image

And this is the second sub-test

image

Now we will use this data source:

image

You can determine which subtest will run on each iteration. (all, none or some)

image
image
image

Now by changing the values on the CSV file I can choose which sub-tests should be executed during run-time.

Did this answer your question?