From the same "Run data" area on a schedule's page (covered in last lesson) you can set how many times you want to run a schedule and whether those runs will be executed in parallel or serial. Multi-runs for schedules are useful if you are working with flaky tests as it can reveal if a test is flaky or if it is actually broken. To do so:
- Navigate to the "Run data" area for your schedule
- Click the pencil icon on the "Repeat run" row
- In the following dialog enter the number of times you wish the test to be executed.
- In the "Run type" row below, use the drop-down menu to select whether to execute in parallel or serial (by default serial is selected)
Note: If you are planning on running this in parallel, the possible number of runs will be limited by your license.
Now whenever the schedule is executed it will run the item within as many times as you specified.