Table of contents
1.
Introduction
2.
Katalon Compact Utility
2.1.
Installing Katalon Compact Utility
3.
Headless Browsers Execution
3.1.
Configuring headless browsers
3.2.
Executing automation tests
3.2.1.
Execute test case/test suite 
3.2.2.
Execute test suite collection 
3.2.3.
Execute using console mode execution 
4.
Frequently Asked Questions
4.1.
What is Katalon Studio?
4.2.
What features of Katalon make it easy to use for people with no coding background?
4.3.
What is the use of using a headless browser?
4.4.
Can Katalon Compact Utility spy and capture objects for web pages saved as HTML local files?
5.
Conclusion
Last Updated: Mar 27, 2024
Easy

Katalon Compact Utility and browser execution in Katalon

Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Let's ensure we understand the foundational concepts before delving further into the subjects. Here is a brief introduction if you are unfamiliar with Katalon Studio.

Introduction

Katalon Studio is a tool that is developed by KM technology. It will also help you automate Web Based Applications, Mobile Applications, and API Testing. It increases the speed of delivery and time to market. Our organisation has become better.

This product's recording feature is helpful for our testing needs. User-friendliness and AI smart healing capabilities are two of Its most valuable features.       

This blog explains the details of the Katalon Compact Utility and browser execution in Katalon.
 

Without further ado, let's get started.

Katalon Compact Utility

As a security precaution, unpacked extensions are disabled in restricted environments. If so, the Spy, Record, and Smart Wait extensions for Chrome may display the following error message: The administrators have disabled allowing users to load unpacked extensions.

Alternatively, you could use the compressed extension Katalon Compact Utility. The Chrome Web Store and Microsoft Edge Add-ons both sell the extension.

You can use the Spy, Record, and Smart Wait features in Katalon Studio after installing the extension, as demonstrated in this article.

Katalon logo

Installing Katalon Compact Utility

Open Microsoft Edge or Chrome. Use the profile that you intend to use for spying, recording, or smart waiting.

Go to the extension page here:
 

1️⃣Chrome Web Store: Katalon Compact Utility.
 

2️⃣Microsoft Edge Add-ons: Katalon Compact Utility.
 

3️⃣Download and install Katalon Compact Utility.
 

4️⃣Verify that the extension is now active. 
 

For Chrome: Install and Manage Extensions.

For Microsoft Edge: Find, add, or remove extensions in Microsoft Edge.

Headless Browsers Execution

Essentially, headless browser testing involves evaluating a Web page's functioning without a graphical user interface (GUI). You can run tests in a real browser environment more quickly when utilizing a headless browser and conducting headless testing.

Headless browsers may save project teams a tremendous amount of time and seamlessly integrate into the CI/CD process.

Chrome and Firefox headless browser execution are supported by Katalon Studio. In this lesson, we'll show you how to run tests with headless browsers and, if necessary, with additional parameters to fine-tune your browsers.

Configuring headless browsers

You don't need to make any additional modifications while running automation tests using Firefox or Chrome, which are both headless browsers by default.

In case you want to provide those headless browsers with more features you want then:


Go to Project > Settings > Desired Capabilities > WebUI >Chrome (Headless)/Firefox (Headless).
 

Add the features you want. For instance, the following will cause Chrome (headless) to launch with a reduced Window size:

Set up desired capabilities for Chrome/Firefox (headless)

Executing automation tests

Execute test case/test suite
 

  • Start by opening the test case or test set you want to run.
     
  • From the list of execution items, pick either Chrome (headless) or Firefox (headless).
     
  • Use a headless browser to carry out a test case.
     
  • The chosen headless browser will then be used to run your current test case or test suite..
     
  • Use a headless browser to carry out a test case.
     

Execute test suite collection
 

  • Launch the test suite collection you wish to run.
     
  • Include a test suite in this collection of test suites.
     
  • Choose the Run With option.
     
  • Choose either Firefox or Chrome (headless) (headless).
     
  • Save any alterations to your current collection of test suites.
     
  • Use headless browsers to run a test suite collection.
     
  • Katalon Studio will use the chosen environment when this test suite collection is executed.
     

Execute using console mode execution
 

  • For quicker and more continuous releases, we advise using the headless browser when running in console mode.
     
  • Generating your console mode instructions first requires choosing between Chrome (headless) and Firefox (headless).
     
  • On the main toolbar, select the Build CMD button.
     
  • Run a test suite collection in console mode using headless browsers.
     
  • Refer to Command Syntax for further information on console mode execution in Katalon.
     
  • Utilizing the created command script from Katalon Studio, run your tests in console mode.

Frequently Asked Questions

What is Katalon Studio?

It is a tool that is developed by KM technology. It will help you to automate Web Based Applications, Mobile Applications, and API Testing as well. 

What features of Katalon make it easy to use for people with no coding background?

Katalon Studio offers features like snippets, code references, and a debugger.

What is the use of using a headless browser?

You can run tests in a real browser environment more quickly when utilizing a headless browser and conducting headless testing.

Can Katalon Compact Utility spy and capture objects for web pages saved as HTML local files?

The native Spy and Record utility's unpacked extensions can spy and capture objects on web pages that have been saved as local HTML files, but Katalon Compact Utility cannot.

Conclusion

We hope this blog helped you in understanding the concept of Katalon Compact Utility and browser execution in Katalon. We first discussed Katalon Compact Utility followed by an explanation of the Headless Browers.

If you found this blog engaging and insightful, you can refer to some similar blogs:

Tips & Tricks in Katalon Studio

Introduction to Web services test object in Katalon

Verification Snippets in Katalon

Keep up with the Basics of C++ with Data StructureDBMS, and Operating System by Coding Ninjas, and keep practicing on our platform CodeStudio. Check out the mock test series on code studio.

You can also refer to our Guided Path on CodeStudio to boost yourself in domains like Data Structures and AlgorithmsCompetitive ProgrammingAptitude, and many more! Refer to the interview bundle to prepare for placement interviews. Check out interview experiences to understand various companies' interview questions.

Give your career an edge over others by considering our premium courses!

Happy Learning!
 

Live masterclass