Can not Import Selenium test cases build using TestNG framework


#1

Hello Katalon Team

We have Selenium test scripts built using TestNG framework. Is there any possible way to import those scripts to Katalon studio. We could not find any article regarding import test scripts that are built using any testing framework. Some of the test scripts that we have in Selenium are not of Page object model. We are in the process of migrating our test automation to Katalon but our team is facing difficulty to import Selenium test scripts to Katalon. Please let us know any possible solution for that.

Thanks


#2

Thank you for the question. I have a few questions. Is it possible for your team to run TestNG tests along with Katalon ones? Why do you want to migrate existing tests to Katalon.


#3

Hi @devalex88 , we want all our test cases at one place(Katalon). Eventually we are going to integrate our testing scripts with build process, keep two different tools hard to maintain. Our automation coverage of application is 80% in TestNG and we don’t want to two different infrastructure to maintain for one application testing.


#5

I have not yet opened Katalon, so maybe this is a dumb question: Can scripts created by Katalon be exported as plain-jane Selenium scripts?

@haspreet.singh is correct: we want all test cases in one place. An alternate to importing hand-coded Selenium scripts into Katalon is exporting out to a pool of Selenium tests, some authored by Katalon, some hand-coded, or from other sources (or even non-Selenium tests). This will position us for CI and/or CD pipelines to run the blended set of tests - especially if the export can be JIT-automated!

What are your thoughts? Can you point us to what others may have done in this vein?


#6

Hi @devalex88,
we also planning to migrate our selenium test scripts built using Test NG Framework.is it possible to import to katalon studio?