How to use @Keyword in other file

Hello,

Can anyone please help on this.

I have 2 files A.groovy and B.groovy under keywords.
I wrote @Keyword in A.groovy, I want to call this method in B.groovy file. How to do this.

1 Like

Hi Sudheer D J,

Maybe you can find your answer through the example like this: http://forum.katalon.com/discussion/7097/is-it-possible-to-call-one-custom-keyword-function-from-another-custom-keywords

Hope it useful for you.

use
(new com.package.you.used.ClassName()).functionFromClass()
example can be seen

(new com.swre.encryption()).decrypt('cryptedText')