Is there a faster way of duplicating multiple test cases?

I’m testing a web app that requires the creation of multiple users, but each user needs their own credentials, but is there a faster way to create test cases than one by one by one, copying and pasting?

Most of the steps are the same, but there are a few small differences.

In my opinion your best move is to parcel up your generic steps into a single groovy method – you can use Katalon’s Keywords for that:

https://docs.katalon.com/display/KD/Define+custom+keywords

Note: you do not need to use the @Keyword decorator. If you make your method static, you can import the class and use the method in Script view (instead of the clunky way the Katalon UI and Manual view uses custom keywords).

Your method should take as arguments the parts of your test that vary. Then you can call your generic test method as many times as you wish.

3 Likes