Data Driven testing allows a given test scenario to be exercised with multiple sets of data, which is a very common requirement in testing. Testing should ensure that the Scenario is executed with multiple permutations of data to cover various business rules and conditions.
In accelQ, each Scenario can define multiple “Test Cases”, which refer to the data input combinations against which the Scenario is repeatedly executed in a data driven manner.
accelQ not only supports data driven testing as a structural concept, but also automates the process of building optimal Test Case combinations required for test coverage. Action Parameterization is the core concept that powers Data Driven testing in accelQ.
Actions in accelQ can be parameterized. Instead of hard-coding the data values in the Action’s test logic, you supply this data as “Action Parameters”. When these Actions are assembled together in the Scenario steps, all the input parameters for the constituent Actions become the input requirement for the Scenario steps. You can create multiple Test Cases against the Scenario with different values for these Parameters.
When you define Action Inputs, you can point the data source of one or more of these parameters to a defined Data Type or Data List. In such cases, accelQ automates the process of Test Case generation, instead of manually creating permutations of Test Cases.