What is the best way to run integration tests between 2 mobile device using appium?

I think I need to figure out a way to programmatically stop and launch appium. I also need to be able to programmatically change the App Path.

Any suggestions?


There is already a thread on how to start stop appium server programatically. You might need to check this