Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Dockerising Appium : London Appium Meetup

2,838 views

Published on

This talk explains running appium serviers inside the docker containers.

Published in: Software

Dockerising Appium : London Appium Meetup

  1. 1. Dockersing and Vagrantifying Appium Shashikant Jagtap Twitter: @Shashikant86 Blog: http://shashikantjagtap.net/
  2. 2. Disclaimer Opinions are my own and notOpinions are my own and not the views of my employerthe views of my employer
  3. 3. 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
  4. 4. Visualizing Appium  Appium Installation is pain  NodeJS, DMG, Build From Source
  5. 5. Visualizing Appium  Appium Installation is pain  NodeJS, DMG, Build From Source  USB mounting
  6. 6. Visualizing Appium  Appium Installation is pain  NodeJS, DMG, Build From Source  USB mounting  Appium Server running
  7. 7. Visualizing Appium  Appium Installation is pain  NodeJS, DMG, Build From Source  USB mounting  Appium Server running  ADB Installtion
  8. 8. Visualizing Appium  Appium Installation is pain  NodeJS, DMG, Build From Source  USB mounting  Appium Server running  ADB Installtion  Connected Devices
  9. 9. Visualizing Appium  Appium Installation is pain  NodeJS, DMG, Build From Source  USB mounting  Appium Server running  ADB  Connected Devices  Test Framework
  10. 10. Docker  Forget VM's … Think of Containers
  11. 11. Docker  Forget VM's … Think of Containers  Docker  https://www.docker.com/ 
  12. 12. Docker  Forget VM's … Think of Containers  Docker  https://www.docker.com/  Docker ToolBox  Everything in one BOX
  13. 13. 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
  14. 14.  Pull The repo $docker pull shashikant86/docker-appium-cucumber Docker-Appium
  15. 15.  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
  16. 16. 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
  17. 17. 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
  18. 18. Appium in Container  Check Appium Version   $ docker exec CONTAINER_ID appium -v  This Docker image can be used as Jenkins Slave !
  19. 19. Vagrant – Appium  Provision Appium with Vagrant  Shell & Ansible Provisioner  GitHub:  https://github.com/Shashikant86/vagrant-ansible- appium  Blog post  http://goo.gl/W02u5A
  20. 20. Thanks

×