Using Appium to Run Tests on multiple physical devices at once?

Thanks for responses

I have common instance variable for both iOS and Android driver like-

AppiumDriver driver;

If(OS.equals(“Android”)
{
driver= androidDriver();
}else{
driver= iosDriver();
}

now the issue is that 2nd thread stops working as soon as 1st thread is completed and driver.quit() command is executed because driver variable was common…

How to solve this?

Can you check my framework and tell me how to achieve multi device testing?

Hi PositiveCrux,

I’m very new in Appium and I have a question. I hope you can explain it for me!

My team has my PCs to run test, we want to run mobile test on these PCs. So will we install Appium on each PC and run test on them(each PC is both client/server role), or will we be able to install Appium on one PC as a server, then other PCs will send request to this server to run test?

Thanks for your help!

Hi PositiveCrux,
Can you please tell me how you have setup the automation server and the setup
so that we can run multiple devices at once.(for both UIA and XCUIT)

my email is [[email protected]]

Hi Anish
The site is getting empty …

Hi could you share me the code [email protected]

Hi @PositiveCrux
I am a new automation test, I very like the your Architecture .
Can you share with me the your Architecture ?
Thank you very much.
Toan PV

How many device we can connect in a single server
OR
How many servers can handle 1000 devices.

Android: ADB has limitation of 16 devices. Not sure but saw somewhere that it could be increased. I did not test it.
IOS: mostly limit of cpu and memory.

I have positive experience running on ONE macMini with 16Gb RAM: 12 iPhones and 12 Android phones simultaniesly.

Thanks for the heads up. I tried to connect 2 iPhones with 2 separate servers and its working fine :+1:

Hello
Thats great, can you share you experience?

You used TestNg.xml for set up all devices and ports?
Or only in Capabilities and run different appium servers?