charles-hsiao / docker-robotframework-web

Docker file for Web application UI automation testing with selenium & phantomjs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker - Robotframework-Web

Docker Stars Docker Pulls Docker Automated
Docker file for Web application UI automation testing with selenium & phantomjs.

Introduction

 This Dockerfile can create a docker image which can use for web application UI automation testing.
Leverage selenium for web UI automation and phantomjs as headless webKit.

Get Started

Run robotframwork CLI command with no robotframework tag

  $ docker run --rm                                  \
    -v ${PATH}/rf-scripts:/rf-scripts                \
    -it charleshsiao/robotframework-web              \
    robot /rf-scripts

Run robotframwork CLI command with specific robotframework tag ${RF_TAG}

  $ docker run --rm                                  \
    -v ${PATH}/rf-scripts:/rf-scripts                \
    -it charleshsiao/robotframework-web              \
    robot -i ${RF_TAG} /rf-scripts