• How to Import External Library into your Automation Project with Katalon Studio

    Import External Library into your Automation Project with Katalon Studio

    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.

    Here is the link “Katalon Studio Complete Tutorial

    Sharing is caring.

    Share on facebook
    Share on twitter
    Share on linkedin

    Like This Post?

    We have a lot more where that came from?

    We only send really good stuff occasionally, promise.

    Rajkumar SM

    Leave a Comment

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

    Scroll to Top
    API Testing eBook