We are working on a Desktop app test.
This app is customized for various customers.
We are currently trying to add some customer-specific variability to this test.
Our idea consists of using Data Sources and variables.
So we define a CSV data source.
In this CSV file, each row corresponds to a set of Customer-specific test-settings.
Each column corresponds to one Customer-specific test-setting which is bound to a variable.
Now, how can we select the Data Range programatically during test-runtime?
We would like:
- the Test for CustomerA to use Data Range 1 (aka the line no 1 in the CSV file).
- the Test for CustomerB to use Data Range 2
But how could we choose the Data Source programatically?