

Let us now start with the setup at the Appium end. Hence, we are only concerned with Appium Port, Device ID and Appium Bootstrap Port In our example, we are not using webviews, chrome browser or selendroid. Selendriod Port (this needs to be used only if you are using selendroid).ChromeDriver Port (this has to be used only if you are using webviews or chrome browser.When you start multiple instances of Appium Servers, you would need to make sure that you provide different values for the following – In our case, we would need 2 Appium Servers, as we would be running our script in 2 different devices.
Appium server showing differnetly android#
For example, if you want to run your tests in 3 different android devices, you would need to start 3 different instances of Appium Servers. Important Note: There should be one Appium server instance started for each device you want to run your test scripts on. In this section, we will first see the work we need to do at Appium Server side.

To execute your scripts on multiple devices, you would need to work at two different places – one is at Appium Server and the other one is in the Java code.
Appium server showing differnetly code#
In this article, we will provide the detailed steps and the code with which you can achieve parallel or simultaneous execution on multiple android devices. Follow us there to get the latest updates There’s lot more going on at our Facebook page. Have a look and see if you find anything useful.

What you see in the video is what we will try to achieve by the end of this article.ĭear readers, we have more articles on Appium. Before we start, have a look at the below video where we are opening an app and performing couple of actions on it simultaneously on two different android devices. You will learn how you can run your Appium test scripts sequentially or in parallel on multiple android devices (or multiple emulators) connected to a single machine using USB ports. In this article we will explain the process of Appium Parallel Execution using Java Thread and Runnable interface in a detailed step by step manner.
