Custom Keywords Refactoring in Katalon Studio
Important:
- 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:
Open the shopping cart sample project and any test case.
Create a new package in the Keywords folder. Then drag and drop the
Login
keyword fromSimple
to the newly created package.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