Android in docker solution with noVNC supported and video recording
Find a file
2016-12-22 14:29:57 +01:00
example First commit 2016-12-22 14:29:57 +01:00
service First commit 2016-12-22 14:29:57 +01:00
.gitignore First commit 2016-12-22 14:29:57 +01:00
.travis.yml First commit 2016-12-22 14:29:57 +01:00
Dockerfile First commit 2016-12-22 14:29:57 +01:00
LICENSE First commit 2016-12-22 14:29:57 +01:00
MAINTAINERS First commit 2016-12-22 14:29:57 +01:00
README.md First commit 2016-12-22 14:29:57 +01:00
requirements.txt First commit 2016-12-22 14:29:57 +01:00
setup.cfg First commit 2016-12-22 14:29:57 +01:00

Docker-Android-Appium

Android emulator and Appium server in docker solution.

Requirements

Docker is installed in your system.

Quick Start

  1. Run docker-appium with command:
docker run -d -p 4723:4723 -v <apk_path_that_will_be_tested>:/target_apk -e ANDROID_VERSION=<target_android_version> --name appium-container butomo1989/docker-appium

Note: There is an example apk in folder example.

An Example:

docker run -d -p 4723:4723 -v $PWD/example/sample_apk:/target_apk -e ANDROID_VERSION=4.2.2 --name appium-container docker-android-appium
  1. See the docker logs with command:
docker logs appium-container -f
  1. Wait until you see this following example messages in logs that showing that appium server is ready to use:
INFO:android_appium:Android emulator is created
INFO:android_appium:android emulator name: emulator_4.2.2
[Appium] Welcome to Appium v1.6.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
  1. Run your UI tests by using docker-appium.

Note: There is an example UITests in folder example.