Sign inSign up

usuresearch/katalon-selenium-firefox

By usuresearch

•Updated almost 9 years ago

Execution of Katalon Studio Tests in a container

Image
0

1.2K

usuresearch/katalon-selenium-firefox repository overview

⁠Docker Katalon Studio Selenium Firefox

Container of this image can execute Katalon Studio⁠ tests in console mode⁠ with Firefox as browser type. The image is based on the Selenium image for Firefox⁠ 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 and without .ts extension)
  • 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-firefox bash
  1. execute tests
katalon -runMode=console -projectPath="/testdir/$PROJECT_FILE" -retry=0 -testSuitePath="$TESTSUITE_PATH" -browserType="Firefox" --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-firefox bash -c '/start_xvfb.sh && katalon -runMode=console -projectPath="/testdir/$PRJ" -retry=0 -testSuitePath="$TSP" -browserType="Firefox" --remoteWebDriverType=Selenium'

Tag summary

Content type

Image

Digest

Size

750.7 MB

Last updated

almost 9 years ago

docker pull usuresearch/katalon-selenium-firefox