# Perfect Data Binding Workaround, Which Allows To Work With Any Data Easily

**URL:** <https://forum.katalon.com/t/perfect-data-binding-workaround-which-allows-to-work-with-any-data-easily/56247>\
**Category:** Miscellaneous\
**Tags:** start-page\
**Created:** [July 1, 2021, 4:57pm UTC](https://forum.katalon.com/t/perfect-data-binding-workaround-which-allows-to-work-with-any-data-easily/56247 "2021-07-01T16:57:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![peter.hevesi](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/peter.hevesi/32/17756_2.png) [@peter.hevesi](https://forum.katalon.com/u/peter.hevesi)\
**Post date:** [July 8, 2021, 3:46pm UTC](https://forum.katalon.com/t/perfect-data-binding-workaround-which-allows-to-work-with-any-data-easily/56247/3 "2021-07-08T15:46:52Z")

</div>

I UPDATED IT EVEN MORE 🤣

I discovered, that there is @BeforeTestDataBindToTestCase method in TestListener.

So here is my TestListener now:

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/5/b/5b1d2f9d729a0866140656283ad186837c285bf7.png)

But be aware, that this method @BeforeTestDataBindToTestCase will run only if you run or debug your TestCase from TestSuite. If you run or debug just a single TestCase, this method won’t run at all…

And here is updated data file:  
[Data.zip](https://forum.katalon.com/uploads/short-url/xJoILoQD2h1i7wlfv8985wdAC4A.zip) (2.4 KB)

Now you don’t need to put anything to global variables, and you can use your variables in TestCase absolutely normally, like this:

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/e/d/ed22501896e7f00a6d7db6e9d45d5c21baf1ea6f.png)

So now it works very well, to summarize it, all you have to do, is to put that Data file to your keywords and create that @BeforeTestDataBindToTestCase method in TestListener. You this only once at the beginning of a project, and then you just write your data types to that Description column and use your variables in a normal way 🙂

---

_[View the full topic](https://forum.katalon.com/t/perfect-data-binding-workaround-which-allows-to-work-with-any-data-easily/56247)._
