Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

USU-Research/docker-katalon-selenium-firefox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'