Skip to main content

Custom Keywords Refactoring in Katalon Studio

Starting from Katalon Studio version 7.0, the custom keyword refactoring feature is available.

Specifically, when you move a custom keyword from a package to another one, Katalon Studio updates the new package and keyword identifier in test scripts accordingly.

  • In Katalon Studio version 7.1+, you can refactor custom keywords in both test cases and the Custom Keyword section.

Here is an example:

  1. Open the shopping cart sample project and any test case.

  2. Create a new package in the Keywords folder. Then drag and drop the Login keyword from Simple to the newly created package.

  3. Re-open the test case and observe. Katalon Studio has updated the package and keyword identifier in the test scripts accordingly.

Before drag-and-drop

After drag-and-drop