A complete image based on python 2.7 with chromedriver (headless), selenium2library, request library, robotframework and pybot command line.
** basic usage ***
docker pull amatera/robotframework4_python2.7_linux2:latest
docker images
*** check check robot version ***
docker run -e "TZ=Europe/Rome" -v ${PWD}:/home --rm amatera/robotframework4_python2.7_linux2 bash -c "cd home; robot --version "
*** run all test in hour working directory ***
docker run -e "TZ=Europe/Rome" -v ${PWD}:/home --rm amatera/robotframework4_python2.7_linux2 bash -c "cd home; robot . "
*** see report and logs ***
file:///home/tera/qa-robotframework-mga-web/log.html
*** jenkins run *** You can also run it as a jenkins job in a groovie pipeline....
*** Given *** you install docker and git...and a jenkins account...
*** And *** git push the repository....
*** When ***
start the container...
sh 'docker run -e "TZ=Europe/Rome" -v ${PWD}:/home --rm amatera/robotframework4_python2.7_linux2 bash -c "cd home; robot . "'
*** Then *** ... Good work!
Content type
Image
Digest
Size
569.8 MB
Last updated
over 4 years ago
docker pull amatera/robotframework4_python2.7_linux2