Docker Katalon

Hi All,

I have pulled the image from docker hub and installed on my local docker mac infrastructure.
I also cloned the testing repo and made sure when running ./run_chrome.sh is pointing to the proper folder for the docker volume mounts etc.

Everything executes but i get an error where the project-path is blank.??

Can anyone help. The error is as follows:

+ eval '/opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="TestSuites/FirstTest"'
++ /opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType=Chrome -retry=0 -statusDelay=15 -testSuitePath=TestSuites/FirstTest
Starting virtual X frame buffer :99 1024x768x24.
Invalid argument: Cannot find project '-browserType=Chrome'.

Which states the project-path is not being set? How can i change this please ty.

I’ve moved it to the right subforum.

Are you using Katalon Docker image with Windows or Linux environment? For Windows, please check out this ticket https://github.com/katalon-studio/docker-images-samples/issues/2.

@Sheilen Manna - Did you find a solution to your problem? Invalid argument: Cannot find project ‘-browserType=Chrome’. I am facing the same issue when running on docker. Any help much appreciated?

@Vinh Nguyen - Can you help me with this issue?

PS C:\dockertest> docker run --rm -e KATALON_OPTS="-browserType=“Chrome” -retry=0 -statusDelay=15 -testSuiteCollectionPa

th=Test Suites/E24EDJourneySuite" -v /C/dockertest:/katalon/katalon/source:ro -v /C/dockertest/reports/Chrome:/katalon/k

atalon/report katalonstudio/katalon

Google Chrome 67.0.3396.62

Mozilla Firefox 60.0.1

Katalon Studio 5.4.2

+ echo ‘Starting Katalon Studio’

++ pwd

Starting Katalon Studio

+ current_dir=/

+ tmp_dir=/katalon/katalon/tmp

+ mkdir -p /katalon/katalon/tmp

+ chmod -R 777 /katalon/katalon/tmp

+ project_dir=/katalon/katalon/project

+ mkdir -p /katalon/katalon/project

+ cp -r /katalon/katalon/source/. /katalon/katalon/project

+ touch /katalon/katalon/project/.classpath

+ chmod -R 777 /katalon/katalon/project

+ report_dir=/katalon/katalon/report

+ mkdir -p /katalon/katalon/report

+ chmod -R 777 /katalon/katalon/report

++ find /katalon/katalon/project -maxdepth 1 -type f -name ‘*.prj’

+ project_file=

+ cmd=’/opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType=Chrome -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test Suites/E24EDJourneySuite’

+ /katalon/base/scripts/xvfb.sh start

+ XVFB=/usr/bin/Xvfb

+ XVFBARGS=’:99 -screen 0 1024x768x24 -fbdir /var/run -ac’

+ PIDFILE=/var/run/xvfb.pid

+ case “$1” in

+ echo -n ‘Starting virtual X frame buffer :99 1024x768x24’

+ start-stop-daemon --start --quiet --pidfile /var/run/xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb – :99 -screen 0 1024x768x24 -fbdir /var/run -ac

Starting virtual X frame buffer :99 1024x768x24+ echo .

.

+ exit 0

+ cd /katalon/katalon/tmp

+ eval ‘/opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType=Chrome -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test Suites/E24EDJourneySuite’

++ /opt/katalonstudio/katalon -runMode=console -reportFolder=/katalon/katalon/report -projectPath= -browserType=Chrome -retry=0 -statusDelay=15 -testSuiteCollectionPath=Test Suites/E24EDJourneySuite

Invalid argument: Cannot find project ‘-browserType=Chrome’.

Hi, i have the same problem, check your path to source.

You have only path: /C/dockertest ? Or you have next folders to find source *.prj