I am running a build automation with Jenkins so I need a CLI for testing automation. The problem is that when I run it with normal testSuitePath the browserType argument is taken as input but for testSuiteCollectionPath it doesn’t work
**./katalon -runMode=console -consoleLog -projectPath=“…Automation.prj” -testSuitePath=“Test Suites/Sample” -browserType=“Chrome” -headless **
This works in command line and all test case gets executed headless but when i run it like this
**./katalon --args -runMode=console -consoleLog -browserType=“Chrome (headless)” -projectPath=“…Automation.prj” -retry=0 -testSuiteCollectionPath=“Test Suites/Sample” **
it opens the firefox browser and doesn’t work headless
In fact, it doesn’t take browser type at all. How can I solve this for collection?