DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • C/C++ Is Where Vulnerability Programs Go to Guess
  • Building a Java 17-Compatible TLD Generator for Legacy JSP Tag Libraries
  • Extracting Clean Excel Tables From PDFs Using Python + Docling
  • Crypto Agility for Developers: Build Agile Encryption Now

Trending

  • Scaling Cloud Data Automation: A Practical Guide to Open Table Formats
  • Event-Driven Pipelines With Apache Pulsar and Go
  • From APIs to Actions: Rethinking Back-End Design for Agents
  • OpenAPI From Code With Spring and Java: A Recipe for Your CI
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. DevOps and CI/CD
  4. Importing an External Library Into Your Automation Project in Katalon Studio

Importing an External Library Into Your Automation Project in Katalon Studio

You can add external libraries to the Katalon Studio testing framework to handle specific situations. Learn how in this simple tutorial.

By 
Oliver Howard user avatar
Oliver Howard
·
Oct. 31, 17 · Tutorial
Likes (5)
Comment
Save
Tweet
Share
8.3K Views

Join the DZone community and get the full member experience.

Join For Free

Katalon Studio allows users to use external Java.jar libraries either through Katalon project settings or copying.jar files to a designated folder. Users can leverage this to extend the capabilities of Katalon Studio and handle specific situations when needed. This article will show you how to add external libraries to Katalon Studio.

Using Katalon Project Settings

On Katalon Studio, from the toolbar select Project > Settings > External Libraries. Click on Add to browse and select your .jar file(s) (and its dependencies, if any). Click on Apply and OK to save the settings.

External Library

After saving the setting, Katalon will add the library file(s) into its Drivers folder on the local drive and loads the libraries. Now user can use the libraries in their test scripts.

To remove imported external libraries, specify the library which you want to delete, click on Remove and click OK.

 remove import external library

Manually Copy.jar Files to the Drivers Folder

You can also manually copy your .jar file (and its dependencies if any) into Drivers folder. You have to restart Katalon (shutdown and open it again) to reload its classpaths.

When your .jar library is recognized by Katalon, you should be able to use it in your code. Refer to the topic How to create a Custom Keyword for information on how to use the email validation functionality from Apache open source library commons-validator-1.5.1.jar.

For more tutorials about automation testing tools, please visit Katalon Tutorials.

Library Katalon Studio

Opinions expressed by DZone contributors are their own.

Related

  • C/C++ Is Where Vulnerability Programs Go to Guess
  • Building a Java 17-Compatible TLD Generator for Legacy JSP Tag Libraries
  • Extracting Clean Excel Tables From PDFs Using Python + Docling
  • Crypto Agility for Developers: Build Agile Encryption Now

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook