# Case can execute many times?

**URL:** <https://forum.robotframework.org/t/case-can-execute-many-times/1091>\
**Category:** Robot Framework\
**Created:** [11 December 2020 08:22 UTC](https://forum.robotframework.org/t/case-can-execute-many-times/1091 "2020-12-11T08:22:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nixuewei](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/nixuewei/32/1548_2.png) [@nixuewei](https://forum.robotframework.org/u/nixuewei)\
**Post date:** [11 December 2020 08:22 UTC](https://forum.robotframework.org/t/case-can-execute-many-times/1091/1 "2020-12-11T08:22:12Z")

</div>

I write a test case that call fakerlibrary to generate random data and call apis, i know it can call much time on keywords repeat, do we any way to call test cases many time?

---

<div class="post-metadata">

**Author:** ![René](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ren%C3%A9/32/7_2.png) [@René](https://forum.robotframework.org/u/Ren%C3%A9)\
**Post date:** [16 December 2020 19:13 UTC](https://forum.robotframework.org/t/case-can-execute-many-times/1091/2 "2020-12-16T19:13:05Z")

</div>

Not directly.

You can use the `Test Templates`

Or

You can use Datadriver. This enables you the possibility to create as much tests as you have “generated” data in you data source, like csv or whatever.

> **[Snooz82/robotframework-datadriver](https://github.com/Snooz82/robotframework-datadriver)**
>
> Library to provide Data-Driven testing with CSV tables to Robot Framework
