Creating class in testcase

Hi All… Is it possible to create class in any testcase in Katalon, inorder to extend the base class?
I tried creating one, but get error as ‘Unexpected Token’. I am new to Katalon. Pls help!

hello,

create keyword class

https://docs.katalon.com/katalon-studio/docs/introduction-to-custom-keywords.html#create-a-custom-keyword

https://docs.katalon.com/katalon-studio/docs/sample-custom-keywords.html

Yes, certainly. Just write your class as you would normally.

//import...

public class Test extends my_base_class {
  //vars...
  //methods...
}

make sure you import also the base class :slight_smile:

its working fine now.thanks! :slight_smile: