Hi,
I have previously managed to run tests parallel on Android devices with previous Appium version (v 1.3.7) but not anymore with Appium version 1.4.0)
I started 2 Appium service using different port number (Appium port, bootstrap port and chromedriver port) as below, however when I run my tests, the tests are only run on the Appium server with default port (4723). When I run my tests against the Appium server running on non default port, it throws “Connection refused - connect(2) (Errno::ECONNREFUSED)” error.
Sorry guys. It was my own mistake that I made at the code level. I forgot to change the Appium server port no when initiating the driver. It works on Appium version 1.4.0.
I have two separate classes under my Package (one for an iOS test and another for an Android test). Usually I select iOS or Android from the Appium GUI and then run either class as TestNG from Eclipse. How can I run both classes simultaneously if both devices are plugged in (or can I even?). I can have them as part of my TestNG xml file but then what do I select at the Appium GUI?
On the same token can I run two iOS devices simultaneously ?
This is what I just tried. Unfortunately it did not work.
I had two separate classes - one each for an iOS test, and an android test. I created an xml file to run the testng tests where I put both the classes (both devices were plugged in) to see if the tests will run on both devices. On the Appium GUI I would select either Android or iOS. And got a Configuration failure.