The issue is that when executing the scenario’s using the testng.xml. The first device completes followed by the second device. It does not run simultaneously ( Parallelly).
<?xml version= *"1.0"* encoding= *"UTF-8"* ?>
<suite name= “BDD Test Suite” parallel= “methods” thread-count= “2” >
Thanks @Aleksei. The I have used all the cases specified in the link. Still the issue persists. Please could you provide me your Skype ID so that I could show you the issue.
now run it and check they started simultaneously. For me output was:
myTest() 11: Start
myTest() 12: Start
myTest() 11: End
myTest() 12: End
===============================================
BDD Test Suite
Total tests run: 2, Failures: 0, Skips: 0
===============================================
The issue would be possibly due to some capabilities that you could be missing, you need to be sure to set systemPort on every android emulator/device.