since Katalon Studio is built on Eclipse, can I directly run the Katalon testcases on Eclipse or any java/groovy compiler?
I ask this question because we are not allowed to install Katalon Studio on some of the test machines due to some security policy.
Have a look at the following issue. It may give you some idea.
In this tutorial, I will show you how to use IntelliJ IDEA to write Katalon Studio tests. Similar results can also be accomplished with other IDEs (Eclipse, VSCode) that understand the Eclipse project structure.
Please note that this is not an official feature. Use this only if you really prefer your IDE.
I hope this will somewhat help address a number of requests from Katalon Studio users, for example:
Scripting, Executing, and Debugging
My IntelliJ IDEA version is Community 2018.2, wh…
but, in the end, you would find you can not run Katalon’s test cases in Eclipse. You need katalon.exe anyway.
Hi kazurayam, thank you so much for the tips. There is a Eclipse folder in the Katalon Studio folder. Do you know if I can directly launch the project from Eclipse instead of from Katalon Studio?
I’ve tried to rename katalon.exe to another name or link to an alias, it will not launch. do you know how to make it work?
No hope, I think.
Of couse you can open the katalon project directory with Eclipse. But you will find no way to run a Katalon’s Test Case in Eclipse. To run a Katalon’s Test Case, you need Katalon Studio’s GUI or command line mode.
I wonder why you want to do it.
Once I made a post :
I often imagine: in future a project of Katalon Studio is reorganized as a Gradle project within Eclipse.
It’s directory structure will be
You can utilize the external dependency management features of Gradle in full scale.
You can do unit-testing for your custom classes (namely, Keywords) using any testing framework you like (JUnit, Spock, Cucumber, etc)
You can generate groovy-docs of your custom classes (and test cases if possible) from the groovy-doc comments in you…
I do not think Katalon Team would take it seriously.
Another post of mine below might be interesting for you:
I want to edit .gitignore and README.md of a Katalon project in Katalon Studio.
To accomplish this, I want to open an Eclipse Project Explorer in Katalon Studio as the following image shows:
Project Explorer can be graded “for Geeks only”. Each project settings would have an option to enable/disable this. The default would be “disabled”.
How do you like it? Terrible idea?
I believe this idea is feasible enough and will benefit us a lot.
@JOE_F If Katalon Studio is downloaded and decompressed automatically, would it be interpreted as “install”? If possible please clarify with the IT department.
yeah, that’s another approach. I can just download the package and run the tests in CMD mode without launching the Katalon Studio UI. Is there a way to launch the embedded eclipse directly from the Katalon Studio folder?
I do not think it would work.
All of the groovy scripts as Test Cases/Test Suites/Test Listeners/Keywords must be compiled into *.classes by the groovy compiler bundled in Katalon Studio, and the compilation is done when you open the GUI and give triggers to KS by opening the source codes with editor or by clicking “Project > Reflesh” button. Without compiling *.groovy files to *.class, nothing works.