
These are the two pieces of information you’ll need that are unique to your case, and to work with my code examples, you’ll need to set them as environment variables, so that they can be read from our test class: Before we begin, we’ll obviously need a Zoom meeting to join! I started one on my computer, so that I could determine its meeting ID and password.


The goal is to do something useful with automation, so let’s see how it’s possible to join a Zoom meeting from a device controlled by Appium. Using these caps, we can launch zoom in an automation context! Joining a meeting (The important bits above are the appPackage and appActivity capabilities).

Using the helpful ADB command adb dumpsys window windows, I determined Zoom’s info, and entered that into my set of capabilities:Ĭaps.setCapability("platformName", "Android") Ĭaps.setCapability("deviceName", "Android") Ĭaps.setCapability("appPackage", "us.meetings") Ĭaps.setCapability("appActivity", "") Ĭaps.setCapability("automationName", "UiAutomator2") Since I had the app already, I needed to know its package id and launching activity to get Appium to start it for me. I already had the Zoom app on my device, so I chose the latter route, but you could also find a downloadable Zoom APK, put it somewhere on your system, and reference it as the app capability. How can we launch it in an automation context with Appium?įirst, we need to decide whether to have Appium install the Zoom app for us, or to have the app on the phone and simply launch it when our session starts. It seems like everyone is using it for their video meetings these days. (NB: In the live stream, I chose to work in Python, but for this article I converted all the code examples to Java.) Starting a session with Zoom My expectation is that discussing automation of real apps “in the wild” would also be useful for Appium Pro readers, so periodically, I will take the results of these explorations and turn them into Appium Pro articles! I think this type of real-world “case study” is really interesting.

In this live stream event, I downloaded the Zoom app for Android and tried to build a simple testsuite for it in about an hour. Last week I tried something new: Automation Happy Hour.
