# Is there any way to share data between steps in Katalon?

**URL:** <https://forum.katalon.com/t/is-there-any-way-to-share-data-between-steps-in-katalon/13819>\
**Category:** Miscellaneous\
**Tags:** bdd-testing, katalon-studio\
**Created:** [October 18, 2018, 1:50pm UTC](https://forum.katalon.com/t/is-there-any-way-to-share-data-between-steps-in-katalon/13819 "2018-10-18T13:50:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [October 18, 2018, 2:21pm UTC](https://forum.katalon.com/t/is-there-any-way-to-share-data-between-steps-in-katalon/13819/2 "2018-10-18T14:21:46Z")

</div>

you can use GlobalVariable. Test Case 1 writes something in GlobalVariable.foo, and Test Case2 read GlobalVariable.foo. … GlobalVariable is scoped in a Test Suite.

[https://docs.katalon.com/katalon-studio/docs/variable-types.html](https://docs.katalon.com/katalon-studio/docs/variable-types.html)

If you want to share data across 2 or more Test Suites, then you need to write data into a file. You can use any format of file: \*.txt, \*.json, \*.properties, \*.csv and \*.xlsx. The following post of mine explains how I used Excel to share data accoss Test Suites. This custom keywords works for the most of versions of KS.

> [@Multiple Test Cases in a Test Suite can share a Excel file to read/write data dynamically](http://forum.katalon.com/t/multiple-test-cases-in-a-test-suite-can-share-a-excel-file-to-read-write-data-dynamically/12988):
>
> I have made a demo project on GitHub: [GitHub - kazurayam/MultipleTestCasesSafelyWriteIntoExcelFile: [Katalon Studio] Writing Data in Excel](https://github.com/kazurayam/MultipleTestCasesSafelyWriteIntoExcelFile) ----------- Problems to solve I wanted to find out a solution to the following points: I want my Katalon Studio project to generate a single Excel file where my Test Cases store anonymous data. I want to name the Excel file in such format. If I start a Test Suite named TS\_a then it creates a file named TS\_afollowed by the timestamp when it was started. …

Excel Keywords plugin is available for v6.1.5 or higher.

> **[Excel Keywords](https://store.katalon.com/product/34/Excel-Keywords)**
>
> Katalon Store is a collaborative marketplace that allows users to develop and share plugins, integrations, and keywords that enhance Katalon Studio capabilities.

---

_[View the full topic](https://forum.katalon.com/t/is-there-any-way-to-share-data-between-steps-in-katalon/13819)._
