Project logo

Simple Katalon Executor

Status Platform GitHub Issues GitHub Pull Requests License


📝 Table of Contents

🎞 Demo

🧐 About

This is a simple executor to trigger run Katalon with some additional settings like x11Display or xvfbConfiguration

🎈 Usage

  • Directly from the eclipse:

Open com.katalon.executor.SimpleExecutor and override kreDir, katalonCommand, x11Display or xvfbConfiguration with an appropriate value.

  • From command line On Windows:
$ java -jar target/com.katalon.executor-0.0.1-SNAPSHOT-shaded.jar -c="<Katalon Command>" -k="<KRE Installation Folder>"

For example:

$ java -jar target/com.katalon.executor-0.0.1-SNAPSHOT-shaded.jar -c="katalonc -noSplash -runMode=console -projectPath=\\\"C:\Users\thongnmtran\Desktop\Samples\Web 03\test.prj\\\" -retry=0 -testSuitePath=\\\"Test Suites/TS_RegressionTest\\\" -executionProfile=\\\"default\\\" -browserType=\\\"Chrome\\\" -apiKey=\\\"36208c97-ecee-44ff-8373-4e3270e7e7d0\\\"" -k="C:\Users\thongnmtran\Desktop\KRE-8.0.1\Katalon_Studio_Engine_Windows_64-8.0.1"

Be noticed that you have to escape all quote charaters in the generated command from Katalon Studio to make it work correctly

  • From terminal On Mac/Linux:
$ java -jar target/com.katalon.executor-0.0.1-SNAPSHOT-shaded.jar -c="<Katalon Command>" -k="<KRE Installation Folder>" -d=":1" -x="-a -n 0 -s \\\"-screen 0 1024x768x24\\\""
  • For more detail about command usage:
$ java -jar target/com.katalon.executor-0.0.1-SNAPSHOT-shaded.jar

🏁 Getting Started

Prerequisites

  • Maven
  • JDK 8

Installing

You can rebuild the package with this command:

$ mvn clean package