Sign inSign up

usuresearch/katalon-selenium-chrome

By usuresearch

•Updated almost 9 years ago

Execution of Katalon Studio Tests in a container

Image
1

1.3K

usuresearch/katalon-selenium-chrome repository overview

⁠Docker Katalon Studio Selenium Chrome

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.

⁠Usage examples

  • 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 tests from inside the container
  1. execute the container :
docker run --rm -it -v ${TEST_DIR}:/testdir usuresearch/katalon-selenium-chrome bash
  1. execute tests
katalon -runMode=console -projectPath="/testdir/$PROJECT_FILE" -retry=0 -testSuitePath="$TESTSUITE_PATH" -browserType="Chrome (headless)" --remoteWebDriverType=Selenium
⁠execute tests from outside the container
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'

Tag summary

Content type

Image

Digest

Size

794.6 MB

Last updated

almost 9 years ago

docker pull usuresearch/katalon-selenium-chrome