Skip to main content

Custom Keywords Refactoring in Katalon Studio

  • You have a Katalon Studio Enterprise license.

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. 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