Execution on multiple device at a time

I want to execute scripts on multiple device at time using appium on android devices, using Selenium java.
Please help for the steps to do the same.


You can simply run multiple instances of Appium server on different ports.
Then pass those ports as an argument for automated tests.
@Parameters({“deviceID”,“deviceName”,“osVersion”,“port”,“chromePort”,“ipAppium”}), pass these parameters while opening the app and bingo.

Hope that helps.

Thanks a lot.
But I am not using TestNg,
I want it using java(Selenium)


Have a look at this article. It uses Java Threads to perform execution on multiple devices. This would give you an idea on how to set it up -

Here is the link … There is a framework which supports parallel execution on multiple device developed by @saikrishna321