Container of this image can execute Katalon Studio tests in console mode with Chrome (headless)
as browser type.
The image is based on the Selenium image for Chrome and uses Katalon_Studio_Linux_64-5.1
.
- PROJECT_FILE: katalon project file (.prj)
- TESTSUITE_PATH: path to your test suite ( relative to TEST_DIR)
- TEST_DIR: base directory of your katalon tests
- execute the container :
docker run --rm -it -v ${TEST_DIR}:/testdir usuresearch/katalon-selenium-chrome bash
- execute tests
katalon -runMode=console -projectPath="/testdir/$PROJECT_FILE" -retry=0 -testSuitePath="$TESTSUITE_PATH" -browserType="Chrome (headless)" --remoteWebDriverType=Selenium
docker run --rm -it -e PRJ=$PROJECT_FILE -e "TSP=$TESTSUITE_PATH" -v $TEST_DIR:/testdir usuresearch/katalon-selenium-chrome bash -c '/start_xvfb.sh && katalon -runMode=console -projectPath="/testdir/$PRJ" -retry=0 -testSuitePath="$TSP" -browserType="Chrome (headless)" --remoteWebDriverType=Selenium'