Edited README.md

This commit is contained in:
butomo1989 2016-12-22 14:36:09 +01:00
parent c2f9518e66
commit 6d47acff4f

View file

@ -16,32 +16,32 @@ Quick Start
1. Run docker-appium with command: 1. Run docker-appium with command:
```bash ```bash
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 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.*** ***Note: There is an example apk in folder example.***
An Example: An Example:
```bash ```bash
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 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
``` ```
2. See the docker logs with command: 2. See the docker logs with command:
```bash ```bash
docker logs appium-container -f docker logs appium-container -f
``` ```
3. Wait until you see this following example messages in logs that showing that appium server is ready to use: 3. Wait until you see this following example messages in logs that showing that appium server is ready to use:
```bash ```bash
INFO:android_appium:Android emulator is created INFO:android_appium:Android emulator is created
INFO:android_appium:android emulator name: emulator_4.2.2 INFO:android_appium:android emulator name: emulator_4.2.2
[Appium] Welcome to Appium v1.6.3 [Appium] Welcome to Appium v1.6.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 [Appium] Appium REST http interface listener started on 0.0.0.0:4723
``` ```
4. Run your UI tests by using docker-appium. 4. Run your UI tests by using docker-appium.