Skip to main content

Selenium Katalon migration

Note:
  • Please note that the use case presented here is a suggestion only and should be implemented with caution. It has not undergone quality assurance testing and is not officially supported by our platform.

You can migrate your test cases from Selenium, TestNG, or JUnit projects to Katalon Studio. With the supported features and keywords, you can execute and maintain your existing Selenium, TestNG and JUnit projects with Katalon Platform without starting everything from scratch.

This project demonstrates how Katalon Studio helps users to use their existing Selenium project in Katalon Studio. Katalon supports Selenium TestNG and Selenium based framework both.

How to migrate Selenium to Katalon

We have two different application which we will use for our sample project:

Normal test script execution Data driven test execution

  1. Downlaod and extract the Junit and TestNG based framework.
  2. Add all your project file into Include > scripts > groovy.Katalon Studio add project files
  3. Change webdriver configuration as per screenshot mentioned below.change webdriver configuration
  4. You might need to fix all possible errors. (most of the errors are related to the project import so you need to add a proper path for package structure into the import section).
  5. Create a resource folder and add the Testng.xml file.create folder and add testng.xml
  6. Create a test case by using TestNG or Junit custom keyword.create test case using testng junit keywords
  7. Refer to Execute tests with Katalon Studio overview or View test results and execution logs in Katalon TestOps to run the test and verify the test execution results.