# Not running selenium JUnit tests after migration from selenium to katalon studio

**URL:** <https://forum.katalon.com/t/not-running-selenium-junit-tests-after-migration-from-selenium-to-katalon-studio/119890>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [February 13, 2024, 5:14pm UTC](https://forum.katalon.com/t/not-running-selenium-junit-tests-after-migration-from-selenium-to-katalon-studio/119890 "2024-02-13T17:14:25Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [February 29, 2024, 10:41am UTC](https://forum.katalon.com/t/not-running-selenium-junit-tests-after-migration-from-selenium-to-katalon-studio/119890/14 "2024-02-29T10:41:56Z")

</div>

@lfilipovi

If you try running your JUnit test with TestNGBuiltinKeywords v9.3.1, I believe your test will fail again.

I can point out several mistakes in your JUnit code. But I would not describe my observations here. Please try for yourself first and realize.

…

Have you tried it?

I believe, you would get into another trouble with the TestNGBuiltinKeywords class. I am sure, in the console of your failing Tests, you would see the output as the following example, .

```auto
2024-02-16 17:09:58.120 ERROR c.k.k.core.keyword.internal.KeywordMain - ❌ Running TestNG test classes: '[class com.lfilipovic.demo.SearchForEmployeeTest]' failed
2024-02-16 17:09:58.130 ERROR c.k.k.core.keyword.internal.KeywordMain - ❌ Keyword runJUnitTestClasses was failed (Root cause: com.kms.katalon.core.exception.StepFailedException: Running TestNG test classes: '[class com.lfilipovic.demo.SearchForEmployeeTest]' failed
	at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:51)
	at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy)
        ...

```

All this message tells you is _“Test failed, Bye!”_. It will show you no diagnostics about your JUnit test class. It won’t tell you which line of your JUnit test is faulty.

@lfilipovi,

You would not be able to debug the JUnit test code at all using the TestNGBuiltinKeywords class of Katlaon. TestNGBuiltinKeywords class is poorly implemented. Not useful at all.

---

_[View the full topic](https://forum.katalon.com/t/not-running-selenium-junit-tests-after-migration-from-selenium-to-katalon-studio/119890)._
