# External jar not work in testcase, it works in testsuite

**URL:** <https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [April 26, 2022, 5:01pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621 "2022-04-26T17:01:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozgenur.koc](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ozgenur.koc/32/16104_2.png) [@ozgenur.koc](https://forum.katalon.com/u/ozgenur.koc)\
**Post date:** [April 26, 2022, 5:01pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/1 "2022-04-26T17:01:37Z")

</div>

Hello everyone,

I imported Katalon external jar and used testcase.  
The internal jar code I imported does not work in testcase, it works in testsuite.

Can you help me?

---

<div class="post-metadata">

**Author:** ![sara.leslie](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/sara.leslie/32/20699_2.png) [@sara.leslie](https://forum.katalon.com/u/sara.leslie)\
**Post date:** [April 26, 2022, 5:04pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/2 "2022-04-26T17:04:29Z")

</div>

Hello and thank you for your post,

Can you please share more details on the results and what happens when its not working? Also- what renders correctly in testsuite?

Any additional details will help us work on your issue with you.  
Best, Sara

---

<div class="post-metadata">

**Author:** ![ozgenur.koc](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ozgenur.koc/32/16104_2.png) [@ozgenur.koc](https://forum.katalon.com/u/ozgenur.koc)\
**Post date:** [April 26, 2022, 5:45pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/3 "2022-04-26T17:45:06Z")

</div>

Thanks for the reply,

I added Project \> Settings \> Library Management external jars.  
As soon as I add the external jar to Import, the testcase cannot be run at all.  
When I press the Run button, the testcase is saved, but it doesn’t run and it doesn’t give any errors.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 26, 2022, 5:46pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/4 "2022-04-26T17:46:02Z")

</div>

Stick around and wait for these guys to show up:

@anon46315158 @kazurayam

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 26, 2022, 11:10pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/5 "2022-04-26T23:10:42Z")

</div>

@ozgenur.koc

I do not understand the original post.  
I can not reproduce what you did,  
Please have a look at the following guidance, and provide more of concrete information what you did.

> [@\[TIP\] How To Help Us Help You!](http://forum.katalon.com/t/tip-how-to-help-us-help-you/12919):
>
> My test is BROKEN! NOTHING WORKS! HELP ME! Relax. We get it. We really do. There are some pretty smart and clever people on this forum, but you must realize, they are not magicians or wizards or gods. They cannot see your code, they can’t see your errors and they don’t even know what your AUT is meant to do even though it might seem perfectly obvious to you. So please relax and follow the advice below, before you start writing your post. The advice below will tell you the exact information …

---

<div class="post-metadata">

**Author:** ![ozgenur.koc](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ozgenur.koc/32/16104_2.png) [@ozgenur.koc](https://forum.katalon.com/u/ozgenur.koc)\
**Post date:** [April 27, 2022, 9:47am UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/6 "2022-04-27T09:47:05Z")

</div>

Hello,

I added the Library Management external jar, which I blurted out in the screenshot.  
In the testcase import I called the code inside the external jar.  
The test case does not run when I press the test case run button.  
The test case works when the same test case is in the test suite.

 ![librarymanagement](https://europe1.discourse-cdn.com/katalon/original/3X/9/6/965bad21d11b275d458cbeea9cffbdeffeb7b5dc.png)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 27, 2022, 9:49am UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/7 "2022-04-27T09:49:23Z")

</div>

Sorry, I can not understand you.

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [April 27, 2022, 4:51pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/8 "2022-04-27T16:51:33Z")

</div>

Hi @ozgenur.koc,

Please share the log in **Console** tab, the screenshot of **Problem** view and the error log file

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [April 27, 2023, 4:52pm UTC](https://forum.katalon.com/t/external-jar-not-work-in-testcase-it-works-in-testsuite/64621/9 "2023-04-27T16:52:03Z")

</div>

Closed on April 27, 2023, 4:52pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
