Dockerizing appium tests


#21

Please reply its is very important for me


#22

[email protected]:~$ docker run --rm -ti --net container:adbd sorccu/adb adb devices
List of devices attached
ZY2232TB7B device

I have connected two devices. but it is showing only one


#23

@banthia can you please clarify below

  1. “…The only way to reduce run time is by parallelisation…” , does this mean each container run tests on individual emulator or physical device ?

  2. If I’ve 10 android devices , how do I allocate each to individual container ?

  3. I’m using Docker technology to run web automation in parallel with help of selenium grid. One container works as Hub and others are node.

  4. Does this project also uses similar technique ?

Thanks in advance.

Regards,
Vikram


#24

I have a docker container on azure cloud with appium, and My Device is not displayed.
Steps to reproduce:

  1. Run docker with " docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb -p 4723:4723 -it appium/appium-docker-android bash "
  2. Then i input, " docker exec “docker container number” adb devices "
  3. I then get List of devices attached
  • daemon not running. starting it now on port 5037 *
  • daemon started successfully *
  1. Then i input, " docker exec “docker container number” adb devices "
  2. I get List of devices attached but its BLANK.

What do i need to do in order for my devices to be displayed when i run " docker exec “docker container number” adb devices "??? I’ve also tried adb connect 11.11.11.11:5555 and the request times out
Please Help @banthia


#25

Hi @banthia

I am using windows 7.I have automated simple app with appium.Can i implement the same using docker? i have installed docker using docker tool box.

Can you help me to proceed further?


#26

Could Docker run Appium tests without emulators?

If so, I’m interested to hear solutions. My job won’t allow me to download HAXM for Android Emulators.