Tutorials Hut

  • Katalon Studio

       Katalon Studio Features and Setup
       What is Katalon Studio?
       Katalon Features
       Katalon SetUp
       Katalon Studio Toolbars and Views
       Katalon Main Toolbar
       Test Explorer in Katalon
       Keywords Browser in Katalon
       Editors/Views in Katalon
       Create Test Case in Katalon Studio
       Steps to create Test case
       Record and Play in Katalon
       Manual Mode in Katalon
       Script Mode in Katalon
       Test Suite in Katalon Studio
       What is a test suite?
       Steps to create test suite
       Test suite execution settings
       Test Suite Collection in Katalon Studio
       What is a test suite Collection?
       Steps to create test suite Collection
       Test suite Collection execution settings
       Execution Profile in Katalon Studio
       Create New Profile in Katalon
       How To Use Profile in Katalon
       Set Default Profile in Katalon
       Data Driven testing in Katalon Studio
       Global Variables in Katalon
       Test Case Variables in Katalon
       Data files and Binding
       Using custom keywords to Read Files in Katalon
       Data files/Read Files in Katalon Studio
       How to read data from excel file in Katalon Studio
       How to read data from CSV file in Katalon Studio
       How to read data from internal files in Katalon Studio
       How to read data from Database in Katalon
       Data Binding of test cases in Katalon Studio
       Import Test Data from External Excel/ CSV file
       How to create a Test Suite?
       Manage Data Binding to Test suite
       Test Listener/Hooks in Katalon Studio
       What are Test Listeners in Katalon?
       How to create new Test Listeners
       Execution With Test Listener example and flow



  • Data Files in Katalon Studio

    Katalon studio data files provides a rich feature that allows us to store or fetch data easily from these sources.This could be internal data files , external data files or databases.

    Data used in test cases in the form of variables or input are usually obtained from files that can be excel files, CSV files, profiles or Databases.Read data from excel in katalon studio using it.
    Katalon Studio provides the ability to execute automation tests with external data sources which can be used by configuring the test suite with external files.This process is called Data Binding.

    Data files in Katalon Studio_1

    In this article we will discuss below topics:

    How to read data from excel file in Katalon Studio

    Input data is usually maintained in files and then accessed in automation projects. Excel files are most frequently used for this. In Katalon below steps are followed to create excel data .

    1. In Test Explorer, select Data Files → New → Test Data.
    Create Test Data_Katalon Studio

    2. Dialog box Test Data opens.   Select Excel File and click on OK.

    ExcelFile_Test Data_Katalon Studio_3

    3. File’s Information section options. Click on Browse button and select the external excel file that you have created to store input data. Select the sheet name from which data needs to be fetched from the Sheet Name drop down

    ExcelFile_Mapping_Test Data_Katalon Studio_4

    4. Save the Test Data created. We will see in the upcoming topics how this data is utilized in our automation test cases.

    How to read from CSV file in Katalon Studio

    Input data is usually maintained in files and then accessed in automation projects. CSV files are frequently used for this. In Katalon below steps are followed to create excel data .

      1. In Test Explorer, select Data Files → New → Test Data.
    Create Test Data_Katalon Studio

    2. Dialog box Test Data opens.   Select CSV File and click on OK.

    CSVFile_Test Data_Katalon Studio_5

    3. File’s Information section options. Click on Browse button and select the external CSV file that you have created to store input data. Select the separator based on which data needs to be segregated

    CSVFile_Mapping_Test Data_Katalon Studio_6

    4. Save the Test Data created. We will see in the upcoming topics how this data is utilised in our automation test cases.

    How to read data from Internal file in Katalon Studio

    Input data is usually maintained in files and then accessed in automation projects. In Katalon below steps are followed to create Internal data .

      1. In Test Explorer, select Data Files → New → Test Data.

    2. Dialog box Test Data opens.   Select Internal Data and click on OK.

    CSVFile_Mapping_Test Data_Katalon Studio_6

    3. Add columns and rows by clicking on + sign

    SetRows_Columns_InternalData_Test Data_Katalon Studio

    4. Save the Test Data created. We will see in the upcoming topics how this data is utilised in our automation test cases.

    How to read data from database in Katalon Studio

    There are cases when data is required from the Database. Based on some input query data needs to be fetched and then utilised in the test case. Best way to achieve this in Katalon is using Database data.

    1. It In Test Explorer, select Data Files → New → Test Data.

    Create Test Data_Katalon Studio

    2. Dialog box Test Data opens.   Select Database Data  and click on OK.

    DataBase Data_Katalon Studio

    3. Database data test data created above opens. Click on the Edit Query option here.

    EditQuery_Database Data_Katalon Studio

    4. Database  Connection and Query Settings dialog box opens. Enter the database connection details and the query that needs to be executed. Click OK.

    Database connection and query settings_KatalonStudio

    5. Save the Test Data created. We will see in the upcoming topics how this data is utilised in our automation test cases.




  • Katalon Studio

       What is Katalon Studio?
       Katalon Features
       Katalon SetUp
       Katalon Studio Toolbars and Views
       Katalon Main Toolbar
       Test Explorer in Katalon
       Keywords Browser in Katalon
       Editors/Views in Katalon
       Create Test Case in Katalon Studio
       Steps to create Test case
       Record and Play in Katalon
       Manual Mode in Katalon
       Script Mode in Katalon
       Test Suite in Katalon Studio
       What is a test suite?
       Steps to create test suite
       Test suite execution settings
       Test Suite Collection in Katalon Studio
       What is a test suite Collection?
       Steps to create test suite Collection
       Test suite Collection execution settings
       Execution Profile in Katalon Studio
       Create New Profile in Katalon
       How To Use Profile in Katalon
       Set Default Profile in Katalon
       Data Driven testing in Katalon Studio
       Global Variables in Katalon
       Test Case Variables in Katalon
       Data files and Binding
       Using custom keywords to Read Files in Katalon
       Data files/Read Files in Katalon Studio
       How to read data from excel file in Katalon Studio
       How to read data from CSV file in Katalon Studio
       How to read data from internal files in Katalon Studio
       How to read data from Database in Katalon
       Data Binding of test cases in Katalon Studio
       Import Test Data from External Excel/ CSV file
       How to create a Test Suite?
       Manage Data Binding to Test suite
       Test Listener/Test Hooks in Katalon Studio
       What are Test Listeners in Katalon?
       How to create new Test Listeners
       Execution With Test Listener example and flow
  • About Author

















  • Leave a Reply

    Your email address will not be published. Required fields are marked *