Refactor – Convert to a Data Loop

Perform a Loop with Data from a CSV file

MarathonITE provides a refactoring to convert some lines of code into a loop, taking the data from a CSV file.

Marathonite Data Loop Refactoring

Use a Data Loop for Creating Data

One of the routine requirements for a test script is to create some records before the actual test is performed. The data loop is very useful for such cases. When a data loop refactoring is applied, the script is converted to pick the data from a CSV file. You can add more rows to the CSV file. For each of the rows, the enclosed operations are performed.