Run with custom parameters

Hi,
Can i run Katalon Studio with custom option or custom parameter(s)? Or add custom option or custom parameter(s) to console.properties file?
For example:
1. CI(for example Jenkins) command:
katalon -runMode=console -projectPath="" … -myCustomParam="<MY CUSTOM VALUE">
2. Listener get this “<MY CUSTOM VALUE”>

Or something like this.

Dmitry,

Did you have a chance to look at the full list of supported parameters at https://www.katalon.com/resources-center/tutorials/executing-console-mode/?

Trong Bui said:

Dmitry,

Did you have a chance to look at the full list of supported parameters at https://www.katalon.com/resources-center/tutorials/executing-console-mode/?

Yes, i did. I found “You can add extra Katalon command options if needed. Any option already defined in the console.properties file will be overwritten by the one declared in command line” and did not understand how i can get this parameter on Test Case or Listener.

For example:
1. I’m creating property file
2. Add browserType=IE, projectPath=… etc. and myProperty=0
3.And run it via katalon -propertiesFile="<absolute path to console.properties file" -runMode=console -myProperty=5

I’m right? Does it work?
If yes.
How i can use this parameter on Test Case or Listener? or can i add this parameter to profile and overwrite it on executing ?