Forum Discussion

rajeevgautam's avatar
New Contributor
3 years ago

How to execute test script steps multiple times within same execution record

Hi ,


We have a scenario in testing where we would like to re-execute same test steps multiple times with different test data in same test execution record. Can any one please suggest how we can do this in Zephyr dynamically.  


There is few alternative's below we were thinking :-  :



 Enter the same steps multiple times using different input data in test script in Zephyr (where steps need to be re-executed) , but this way we need to write/repeat same steps multiple time in test script and that will make test script static. 


Alternative 2:-

Create another test execution record , and re-execute all the test steps again , but this is time consuming and tester may not want to re-execute whole test steps again except few where he/she is interested .  So this alternative was rejected in consideration.



I was wondering is there a way we can dynamically generate the few set of test steps multiple times in Zephyr in the same execution record  , so that tester can only re-execute few steps with different data in that execution record . And continue all other test steps of execution in regular fashion.



Rajeev Gautam

1 Reply

  • Hi ra 


    I have thought about this. 


    There is no option other than to explicitly manage this dynamically. 


    From an execution stand point I would declare the test data in sequence of each iteration or else provide repeatable steps with different data. 


    This may sound tedious but at least you achieve a level of data integrity within the testcase 


    The issue with the request, is that  if it were possible it opens the door for poor test case design leading to potential data integrity issues. 


    That along with the fact that testers can use quick execute will support this process



    Depending on the data you could potentially use custom fields to manage the test data with specific data types like dropdowns/picklists however once again that might be possible if those designing/executing the test case need to change it.