Introduction
Hey Readers!!
Do you know about plugins in Katalon Studio?
The Katalon plugin searches Test Objects by the attributes listed in the Test Object physical files.
In this article, you'll learn How to resolve external dependencies for a plugin.
Let's begin!!

Add your dependencies to the build.gradle File
To add your dependencies to the build.gradle File does as follows:
1. Go to File> New > Project, and select Generate to build.gradle file box.
Given below is the Default build.gradle template is generated

2. Now Add the dependencies to the build.gradle File.
Enter the following code in the build.gradle File: For Gradle 7
plugins {
id 'java-library'
id 'groovy'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'com.katalon.gradle-plugin' version '0.1.1'
}
repositories {
mavenCentral()
}
def pluginSources = [
'Keywords',
'Test Listeners',
'Include/scripts/groovy'
]
sourceSets {
main {
groovy {
srcDirs = pluginSources
srcDir 'Libs' // generated by Katalon Studio
}
}
}
shadowJar {
exclude 'Temp*.class'
}
groovydoc {
source = pluginSources
docTitle = 'Zip Custom Keywords'
}
dependencies {
implementation 'net.lingala.zip4j:zip4j:1.3.2'
}

Enter the following code in the build.gradle File: For Gradle 5-6
plugins {
id 'java'
id 'groovy'
id 'com.github.johnrengelman.shadow' version '4.0.4'
id "com.katalon.gradle-plugin" version "0.0.7"
}
repositories {
jcenter()
mavenCentral()
}
sourceSets {
main {
groovy {
srcDirs = ['Keywords', 'Libs', 'Test Listeners', 'Include/scripts/groovy']
}
}
}
dependencies {
compile 'net.lingala.zip4j:zip4j:1.3.2'
}
shadowJar {
exclude 'Temp*.class'
}
katalon {
dependencyPrefix = "com.katalon"
minimize = false
}

Your dependencies are repackaged in this way to prevent conflicts with other plugins.
Frequently Asked Question
Is Katalon Studio better than Selenium?
In general, Selenium is faster than Katalon studio. The reason is that Katalon is built on Java and uses the scripting language Groovy.
What is a GUI testing tool?
A proper GUI (graphical user interface) is always helpful in capturing the user's attention. Hence, GUI testing tools are used to test the application's user interface.
Is Katalon cloud-based?
The cloud-hosted Katalon TestCloud system offers on-demand, adaptable, and secure multi-browser testing environments.
What are two types of scripting?
Languages for scripting might be either client-side or server-side.
Which language is best for SaaS?
Ruby is a language that is for SaaS. It is a flexible, portable language primarily used to create desktop SaaS applications.





