Get in touch

A Universal Approach to Building an Open-source based Automation Testing Solution by Katalon

4 min read

02/12/20 09:30

By Guest Author Young Ngo, VP of Product @ Katalon

In today's rapid digital transformation, open-source solutions have continued to prove their importance in developing innovative software. However, to keep up with the ever-growing demands, it's time for open-source frameworks to participate in ensuring software quality. . 

A Universal Approach in Building a Sustainable Testing Framework

Among the various analyses needed before automating your tests, tool analysis is the most important. It's the premises that determines the efficiency of your automation test project (scripting, execution, analysis). Your tools also decide the potential of future usability as they affect test cases maintenance and final ROI. Should that foundation show instability, teams are forced to revert their automation process or stop it altogether.

Given such resources and a future at stake, open-source tools rise to be an undeniable choice: they're commitment-flexible with minimal third-parties intervention and securely dependable. Among those advantages, perhaps the most attractive is the option of a personalized framework. After 10 years of experiences in the domain, we condensed the whole process into five steps that can help teams build their framework using any open-source framework:

  • Community: this first step will determine your support community on which resources you will rely on when further developing your framework. It can be a community in coding languages (Java, Python, etc.) or an execution engine (Selenium, Appium, etc.)

  • Community Customizer: it’s the cushion of your framework where you engineer some core testing functions (WebHandler, Execution, Reports). This is also where teams link the framework with your chosen community, so the framework is compatible with future changes made within the community

  • Test Library: this is the customization section as teams build all utilities and functions to support all testing activities, along with capabilities for test data management, modularization, etc.

  • Test Controller: here is where you build the system that controls your testing, including testing flow (setup, teardown) and execution environments. You can also customize the product versioning in cases of multiple version testing, test configurations, etc.

  • Test Script: this step ensures a clear visualization of your projects to all teams and stakeholders by making them technical abstract and business-friendly. Should you achieve this simplification, it will significantly reduce maintenance effort and lower the learning curves for incoming project members regardless of expertise.

A Success Story, Inspired by Open-Source

“It’s easier said than done”. We understand that, because it took us 5 years to build Katalon Studio - a testing tool now trusted by 500K+ global engineers - based on Selenium. Aside from Katalon Studio, our Katalon Solution also includes Katalon Recorder and Katalium for script generation, along with Katalon TestsOps for reports and analysis.

The beauty of an open-source framework is the infinite freedom for creativity and customization, which is exactly what we use to cater Katalon Studio to every engineer’s needs. As Katalon Studio covers a full set of environments (API, Mobile, Web, and Desktop), our users can now test their web applications utilizing Selenium power, and their mobile application with Appium strength, all in one place. We’re also happy as we could cover Linux beside Windows and ioS, and our execution browsers include all major browsers (Chrome, Android, Firefox, IE, etc). We also customize Katalon Studio to incorporate multiple popular cloud services like AWS, Azure, and Docker, further enhancing the flexibility promised by the open-source frameworks we based on.

So how does Katalon fit into the universal approach of building a framework?

  • For our “Community”, we utilize Java and Groovy, some of the commonly used programming languages. Our users can also benefit from the biggest community of Selenium and Appium users, which is the execution community Katalon based on.

  • For our “Community Customizers”, the Katalon Studio framework includes IDE - a customizer that allows people with little coding expertise to not just understand the script but create automation scripts by themselves.

  • In the Test Library, on one hand, we integrate Spy, Record, and Self-healing to help users create test cases without a line of code. On the other hand, we create. On the other hand, we also have advanced features that allow users to modify the codes beneath the test cases, further enhancing the flexibility for users to customize their tests in any way most preferable.

  • For our Test Controller, Katalon allows test cases to run on different browsers and different end environments, all simultaneously. What’s better, users can integrate with Github, therefore testing their products in multiple versions.

  • For our Test Script, our Dual Script Interface - an exclusive Katalon feature - allows for high-level management literacy with a Manual mode view, and high-expertise engineers understanding with the Script view.


Open-source solutions are the beacons of any technological industry as they enable more than just user conveniences; they are the innovative forces behind the technological transformation. As open-source frameworks prove to be critical in various technology transformations, their impact shouldn’t be any less when it comes to the automation testing industry. We hope that our strategy above - based on our years of experiences - will be among the constructive resources for your journey to develop your automation testing tool using an open-source framework. For some real-life case study, you can visit Katalon website to experience the possibilities of open-source frameworks in testing.

Dung (Young) Ngo
Written by Dung (Young) Ngo

Guest Author Young Ngo, VP of Product @ Katalon (Sponsor at Open Source Lisbon 2020)

Post a Comment


Learn More About Our Services