Can test cases be written in Javascript

As far as I understand, Katalon can record your actions and make test case scripts out of them (which use Selenium).

You can also write your own test case scripts directly in a programming language.

I’m wondering if the language in which test case scripts are written is only Java, or any other language (Javascript in particular) can be used?

Not directly, no.

You can implement many parts of Test Case using JavaScript, but the hosting environment is one that executes Test Cases in Groovy/Java.

I have suggested before that JavaScript testing should become a “first class citizen” in Katalon (perhaps by hosting cypress.io or smashtest.io) so I’ll move this topic to the Suggestions category.

1 Like

Hi Rosh,

I was wondering if you have some input about Smashtest working with KTS or VSC. Thanks in advance for help.