projectPath argument missing when running from a properties file


#1

Hello,

I am having some problems executing a test suite from the command line with a properties file. Katalon claims I am missing the projectPath argument in my console.properties file when it is in fact there:

browserType=Chrome
projectPath=C\:\\Users\\myuser\\Katalon Studio\\Demo\\MyProject.prj
executionProfile=default
retry=3
retryFailedTestCases=true
testSuitePath=Test Suites/Demo Test Suite
reportFolder=C\:\\temp\\reports
reportFileName=MyReport

The command I am sending is:

katalon -propertiesFile="C:\temp\console.properties" -runMode=console -consoleLog -noExit

The output:

[EL Warning]: 2019-01-04 13:15:14.261--Ignoring attribute [lastRun] on class [TestSuiteEntity] as no Property was generated for it.
Missing required argument(s): projectPath.
Request sent successfully.

Console Mode Execution
#2

Thank you for this report. It seems like a bug to me - we will take a look next week. A workaround is to append the projectPath argument to the command:

katalon -propertiesFile="C:\temp\console.properties" -runMode=console -consoleLog -noExit -projectPath="C:\Users\myuser\Katalon Studio\Demo\MyProject.prj"

#3

Will do. I’ll make a note to use this workaround for the time being.