Published in


Integrating Google sheet with Katalon Studio

I haven’t found any walk-through about setting up Google sheet as a test data source with Katalon Studio, and since I got to do it and I have the steps fresh in mind, here is the process.

Katalon Studio is a powerful automation toolset for web and mobile app testing. It is a free yet feature-packed solution that can be applied to overcome common challenges such as wait-time, pop-up, and iframe in web UI test automation.

Katalon Studio brings more intelligence to the entire test automation process testers can now test better, test faster, and launch high-quality software through this user-friendly, versatile solution.

But Katalon Studio doesn’t support google sheet. It doesn’t give any plugin that easily integrates with Google sheet.

Here is my plugin that reads data from your google sheet.

But for now, we are going to read data from google sheet with Katalon Studio.

Step 1: Turn on the Google Sheets API

In my previous article, We discussed how we can integrate google sheet with selenium.

Please follow this for Turn on the Google Sheets API.

Step 2: We need to add the following External Libraries.

If you are using maven please add following dependencies in POM.xml file.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">
<!-- -->
<!-- -->
<!-- -->

Or else you need to add the following External Libraries in your Katalon Studio project.

For External Libraries Goto Project > Settings > External Libraries > Add new libraries.

Step 3: Create a Custom Keyword to read data from the Google Sheet.

For add new Custom Keyword Goto Add > Click on Keyword > give a proper keyword name like ReadSpreadsheet Copy below code and paste it.

That’s it Now our Katalon Studio Project integrates with Google sheet API Now just we have to call this Custom Keyword in our Testcase.

Step 3: Create a Testcase file to call our Keyword.

we need to create a new Testcase and add our Custom Keyword.

On Manual mode, you need to add our keyword like below

Create New Testcase file > Add > Click on Custom Keyword

On Script mode, Write below code like,


CustomKeywords is the keyword to call our custom keywords then after giving classpath of out keyword and pass parameter if any.

here we need to pass of columns that we need to get from the google sheet.

here we want to mean our keyword return all data of A2 to Z (Second Row of A to Z Column).

😎🙌😎🙌We configured the Google sheet with our Katalon project😎🙌😎🙌

Thank you for reading, if you have anything to add please send a response or add a note!

I hope this helps!!!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Prashant Bhatasana

AWS Community Builder | Terraform Associate | Infra. Automation Engineer, Love to work with #AWS #Terraform #Jenkins #kubernetes #Docker #Ansible #Selenium