

We used the AWS Bare Metal Server referencing this article. There are documents or sample codes to use Docker-Android in each cloud services.ĭocker-android/README_CLOUD.md at master Nested Virtualization in Azure | Blog | Microsoft Azure Using Bare Metal InstancesĬurrently, AWS provides Bare Metal Instances called i3.metalĪmazon EC2 Bare Metal Instances with Direct Access to Hardware | AWS News Blog You can use this feature in Google Cloud and Microsoft Azure.Įnabling Nested Virtualization for VM Instances | Compute Engine Documentation | Google Cloud You can use hardware virtualization features inside the virtual machine. Therefore, we needed special configurations to run Docker-Android. We cannot use this feature in general cloud instances because they are run under hardware virtualization. However, there are restrictions for using this Docker-Android in the cloud.ĭocker-Android needs hardware virtualization because it uses x86 Android emulators. I expected to be able to easily create it because it’s provided by the Docker image.

We wanted to create this test automation environment in the cloud, considering maintenance cost and stability. You can also scale emulators by adding options -scale nexus_5_8.0=XX if the same Node. Privileged : true depends_on : - selenium_hubĮnvironment : - DEVICE=Nexus 5 - CONNECT_TO_GRID=true You can create the Appium + Selenium Grid test automation environment by writing docker-compose.yml below, and running the command $ docker-compose up -d # docker-compose.yml version : "2.2" services : selenium_hub : image : selenium/hub

One of the tools that I used to create this test automation environment is called Docker-Android, a Docker image. However, Firebase Test Lab currently does not support Appium, so we tried a tool called Docker-Android. It has become common to run Android UITest in the Firebase Test Lab.

We use Swift / XCUITest / CircleCI(iOS Emulator) to run tests stable, so I was thinking of running these Appium/Android tests in the cloud.
#Appium android tutorial on mac emulator for android#
We use Appium for Android UITest automation. Jenkins pipeline to execute parallel test automation using Android emulator Current Android test automation environment and its problems
