All Projects → katalon-studio → docker-images

katalon-studio / docker-images

Licence: other
Docker images for Katalon Studio and other frameworks

Programming Languages

groovy
2714 projects
shell
77523 projects
typescript
32286 projects
Dockerfile
14818 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to docker-images

Automated-Whatsapp
Automated WhatsApp replies using selenium module in Python
Stars: ✭ 23 (-79.09%)
Mutual labels:  selenium, google-chrome
Build Harness
🤖Collection of Makefiles to facilitate building Golang projects, Dockerfiles, Helm charts, and more
Stars: ✭ 236 (+114.55%)
Mutual labels:  circleci, docker-images
dnevnik mos ru
Python module to get easy machine access to dnevnik.mos.ru
Stars: ✭ 21 (-80.91%)
Mutual labels:  selenium, google-chrome
RomanceBreaker
Python script which sends a custom morning message to your significant other every morning at a given time range on Facebook Messenger, WhatsApp, Telegram or SMS, for lazy people
Stars: ✭ 36 (-67.27%)
Mutual labels:  selenium
aeonian
Continuous deployment assistance for S3 + CloudFront environments
Stars: ✭ 42 (-61.82%)
Mutual labels:  circleci
MAQS
Magenic's automation quick start
Stars: ✭ 46 (-58.18%)
Mutual labels:  selenium
SchweizerMesser
🎯Python 3 网络爬虫实战、数据分析合集 | 当当 | 网易云音乐 | unsplash | 必胜客 | 猫眼 |
Stars: ✭ 89 (-19.09%)
Mutual labels:  selenium
kick-off-web-scraping-python-selenium-beautifulsoup
A tutorial-based introduction to web scraping with Python.
Stars: ✭ 18 (-83.64%)
Mutual labels:  selenium
myrepo
continuous integration rep
Stars: ✭ 41 (-62.73%)
Mutual labels:  circleci
TqExtension
Test your Drupal 7 (D8 in progress) sites easier with TqExtension for Behat.
Stars: ✭ 13 (-88.18%)
Mutual labels:  selenium
geetest test
极验滑动验证码研究报告
Stars: ✭ 66 (-40%)
Mutual labels:  selenium
bitnami-docker-ruby
Bitnami Docker Image for Ruby
Stars: ✭ 69 (-37.27%)
Mutual labels:  docker-images
circleci-beanstalk-example
CircleCI 2.0 AWS Beanstalk example to deploy Node app
Stars: ✭ 34 (-69.09%)
Mutual labels:  circleci
pyscrapper
📷 web scrapping in python: multiple libraries -requests, beautifulsoup, mechanize, selenium
Stars: ✭ 50 (-54.55%)
Mutual labels:  selenium
circleci-demo-docker
Example application using Docker running on CircleCI 2.0
Stars: ✭ 113 (+2.73%)
Mutual labels:  circleci
nightwatch-boilerplate
boilerplate for nightwatch.js with selenium
Stars: ✭ 16 (-85.45%)
Mutual labels:  selenium
tapestry
Weaving a semantic DSL to construct fluent interfaces for test execution logic. (Using Watir)
Stars: ✭ 13 (-88.18%)
Mutual labels:  selenium
primefaces-selenium
PrimeFaces testing support for Selenium
Stars: ✭ 16 (-85.45%)
Mutual labels:  selenium
Overlay-Scrollbars
🎨 An overlay scrollbar customizable theme for Firefox and Chrome based browsers
Stars: ✭ 87 (-20.91%)
Mutual labels:  google-chrome
HA-Build
Home-Assisant in Docker with support service containers
Stars: ✭ 16 (-85.45%)
Mutual labels:  docker-images

Katalon Studio Docker Image

The following how-to guide is for running Katalon Studio test with Katalon Docker Image (KDI) version 7.2.1 onwards.

Preconditions

Step 1: Pull KDI

  • Pull command docker pull katalonstudio/katalon

  • If you want to check which version of Google Chrome and Mozilla Firefox the KDI supports, use the following command: docker run -t --rm katalonstudio/katalon cat /katalon/version. For example, here's the returned output.


$ docker run -t --rm katalonstudio/katalon cat /katalon/version

+ echo Entrypoint

Entrypoint

+ '[' -z '' ']'

+ exec cat /katalon/version

Mozilla Firefox 88.0

Google Chrome 92.0.4515.159 

Katalon Studio 

Step 2: Run your test with KDI

3.1 Prepare your command

3.1.1 Use the command builder to prevent syntax errors. Here’s a sample command generated by the command builder:

./katalonc -noSplash -runMode=console -projectPath="<Your project path>" -retry=0 -testSuiteCollectionPath="Test Suites/TS_RegressionTestCollection" -apiKey="<Your API key>"

3.1.2 Replace

./katalonc -noSplash -runMode=console -projectPath="<Your project path>"

with

docker run -t --rm -v "$(pwd)":/tmp/project katalonstudio/katalon katalonc.sh -projectPath=/tmp/project

3.2 Run your test with KDI

Inside your test project directory, run the command. Here’s an example:

docker run -t --rm -v "$(pwd)":/tmp/project katalonstudio/katalon katalonc.sh -projectPath=/tmp/project -retry=0 -testSuiteCollectionPath="Test Suites/TS_RegressionTestCollection" -apiKey="<Your API key>"

katalonc.sh command will start Katalon Studio and other necessary components. All Katalon Studio console mode arguments are accepted except -runMode.

Configure Proxy

If you need to configure proxy for Katalon Studio, refer to Proxy Options provided on Katalon docs.

Do not forget to put --config before the proxy configuration. For example:

docker run -t --rm -v "$(pwd)":/katalon/katalon/source katalonstudio/katalon katalonc.sh -projectPath=/katalon/katalon/source -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest" -apikey=<YOUR_API_KEY> --config -proxy.option=MANUAL_CONFIG -proxy.server.type=HTTP -proxy.server.address=192.168.1.221 -proxy.server.port=8888

Prevent user permission issue on your machine

You can also run the test under the current user ID using the environment variable KATALON_USER_ID. This will help avoid permission issues when accessing artifacts generated after the test execution.

  • Run $ id -u $USER and copy/paste the output in KATALON_USER_ID=id -u $USER. Here's an example
$ id -u $USER

665056758
  • Add it to your command. For example: docker run -t --rm -e KATALON_USER_ID=665056758 -v "$(pwd)":/tmp/project katalonstudio/katalon katalonc.sh -projectPath=/tmp/project

Display configuration

This image makes use of Xvfb with the following configurations which are configurable with docker run:

ENV DISPLAY=:99
ENV DISPLAY_CONFIGURATION=1024x768x24

Jenkins

Please see the sample Jenkinsfile.

CircleCI

This image is compatible with CircleCI 2.0. Please see the sample config.yml.

Sample configurations for CI tools

Please visit https://github.com/katalon-studio-samples/ci-samples for a sample project with configurations for some CI tools.

Build custom images

The Katalon Runtime Engine's katalonc and its companion script katalonc.sh were added to $PATH. You can make use of these files to build custom images.

Companion product: Katalon TestOps

Katalon TestOps is a web-based application that provides dynamic perspectives and an insightful look at your automation testing data. You can leverage your automation testing data by transforming and visualizing your data; analyzing test results; seamlessly integrating with such tools as Katalon Studio and Jira; maximizing the testing capacity with remote execution.

Deprecated - Simple use case for KDI before 7.2.1

Inside the test project directory, execute the following command:

docker run -t --rm -v "$(pwd)":/katalon/katalon/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest" -apikey=<YOUR_API_KEY>

katalon-execute.sh

This command will start Katalon Studio and other necessary components. All Katalon Studio console mode arguments are accepted except -runMode, -reportFolder, and -projectPath.

/katalon/katalon/source

katalon-execute.sh will look for the test project inside this directory.

If this bind mount is not used, katalon-execute.sh will look for the test project inside the current working directory (defined with docker run's -w argument)..

docker run -t --rm -v "$(pwd)":/tmp/source -w /tmp/source katalonstudio/katalon katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest" -apikey=<YOUR_API_KEY>

Reports

Reports will be written to the report directory.

Docker Toolbox for Windows

Please make sure directories have been shared and configured correctly https://docs.docker.com/toolbox/toolbox_install_windows/#optional-add-shared-directories.

If bind mount /katalon/katalon/report is used, the test reports will be written to that location on the host machine.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].