$30 off During Our Annual Pro Sale. View Details »

Dockerising Appium : London Appium Meetup

Dockerising Appium : London Appium Meetup

This talk demonstrate integration of Appium with Docker.

Shashikant Jagtap

October 28, 2015
Tweet

More Decks by Shashikant Jagtap

Other Decks in Programming

Transcript

  1. Overview  Appium Visualization  Appium + Docker Toolbox 

    Provisioning Android-Appium with Docker  Running appium in Docker Containers  Using Docker container as Jenkins Slave  Provisioning Android-Appium with Vagrant  Demo
  2. Visualizing Appium  Appium Installation is pain  NodeJS, DMG,

    Build From Source  USB mounting  Appium Server running
  3. Visualizing Appium  Appium Installation is pain  NodeJS, DMG,

    Build From Source  USB mounting  Appium Server running  ADB Installtion
  4. Visualizing Appium  Appium Installation is pain  NodeJS, DMG,

    Build From Source  USB mounting  Appium Server running  ADB Installtion  Connected Devices
  5. Visualizing Appium  Appium Installation is pain  NodeJS, DMG,

    Build From Source  USB mounting  Appium Server running  ADB  Connected Devices  Test Framework
  6. Docker  Forget VM's … Think of Containers  Docker

     https://www.docker.com/  Docker ToolBox  Everything in one BOX
  7. Docker  Forget VM's … Think of Containers  Docker

     https://www.docker.com/  Docker ToolBox  Everything in one BOX  Start with DockerFile  Launch Lightweight Containers  Build, Ship and Deploy
  8.  Pull The repo  $docker pull shashikant86/docker-appium-cucumber DockerHub 

    https://hub.docker.com/r/shashikant86/docker-appium-cucumber/  GitHub  https://github.com/Shashikant86/docker-appium-cucumber Docker-Appium
  9. Launch Appium  Launch Appium Server – One Instance 

    $ docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb - p 4723:4723 shashikant86/docker-appium-cucumber
  10. Launch Appium  Launch Appium Server – One Instance 

    $ docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb - p 4723:4723 shashikant86/docker-appium-cucumber  Launch Appium with ARG  $ docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb -e appium_args="-p 4723 -bp 2251 -U 32456" -p 4723:4723 shashikant86/docker-appium-cucumber
  11. Appium in Container  Check Appium Version   $

    docker exec CONTAINER_ID appium -v  This Docker image can be used as Jenkins Slave !
  12. Vagrant – Appium  Provision Appium with Vagrant  Shell

    & Ansible Provisioner  GitHub:  https://github.com/Shashikant86/vagrant-ansible- appium  Blog post  http://goo.gl/W02u5A