# Looping Reference

**URL:** <https://forum.robotframework.org/t/looping-reference/5652>\
**Category:** Robot Framework\
**Created:** [5 May 2023 14:45 UTC](https://forum.robotframework.org/t/looping-reference/5652 "2023-05-05T14:45:24Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [10 May 2023 11:29 UTC](https://forum.robotframework.org/t/looping-reference/5652/14 "2023-05-10T11:29:54Z")

</div>

Hi Fadhli,

I built a simple example for you, you can use this as a template, build your payload and send your request to the server inside the `Data Driver Example` keyword.

But before you do that, just recreate these two file, run `robot dd_example.robot` and confirm you get the same result I did:

_dd\_example.robot_

```python
***Settings***
Library DataDriver file=dd_example.csv dialect=unix

Test Template Data Driver Example

***Test Cases***
Dummy Test ${loan_id} ${i_name_borrower} ${user_id} ${name_borrower}

***Keywords***
Data Driver Example
	[Arguments] ${loan_id} ${i_name_borrower} ${user_id} ${name_borrower}
	Log ${loan_id}
	Log ${i_name_borrower}
	Log ${user_id}
	Log ${name_borrower}

```

_dd\_example.csv_

```python
${loan_id},${i_name_borrower},${user_id},${name_borrower}
2300123,Muhammad,B012,Aisha
2300124,Ibrahim,B022,Abdullah
2300125,Bilal,B021,Omar
2300125,Fatima,B021,Omar

```

I highlighted the variable names in Orange and the corresponding values in Green in the screen shot below of test report for the files above.

 ![Screenshot 2023-05-10 at 9.21.38 pm](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/d/d2bd434b7e694e10c65e8d246eb2480f27aac333.png)

Hopefully this clears it up for you,

Dave.

---

_[View the full topic](https://forum.robotframework.org/t/looping-reference/5652)._
