How to reuse a test case in another test case?


Suppose I have a test case to login to the application and the test case is called TC1.

Now, when we design subsequent test cases for other features, (they are called TC2, TC3 etc, for example), these test cases will definitely need to use the steps of TC1 to login to the application.

My question is, can we avoid adding all the steps of TC1 in TC2, TC3 again using some feature of Katalon studio and just call TC1 somehow in TC2, TC3 etc?

It will reduce the number of steps, copy paste errors, increase readability and maintainability of scripts.

Thanks for your help!


You can use ‘Call Test Case’ keyword to call the test case you want to execute :slight_smile:

1 Like