# How to run test suite multiple times using command line

**URL:** <https://forum.robotframework.org/t/how-to-run-test-suite-multiple-times-using-command-line/7094>\
**Category:** Robot Framework\
**Created:** [29 March 2024 10:08 UTC](https://forum.robotframework.org/t/how-to-run-test-suite-multiple-times-using-command-line/7094 "2024-03-29T10:08:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [29 March 2024 13:55 UTC](https://forum.robotframework.org/t/how-to-run-test-suite-multiple-times-using-command-line/7094/2 "2024-03-29T13:55:44Z")

</div>

Hi Barry,

I think the easiest way to acheive that is [Templates with `FOR` loops](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-288)

Something like this:

```python
***Test Cases***
Template with FOR loop
    [Template] Example keyword
    FOR ${index} IN RANGE 25
        1st arg ${index}
    END

```

You can also do it with a listener, like the example in this thread: [Can I run Setup, Test and Teardown separately? - #14 by damies13](https://forum.robotframework.org/t/can-i-run-setup-test-and-teardown-separately/3878/14), but the template with a for loop is probably easier

Dave.

---

_[View the full topic](https://forum.robotframework.org/t/how-to-run-test-suite-multiple-times-using-command-line/7094)._
