Hello,
I am using two android device (pixel) and i want to run the test simultaneously in both the devices.
Test framework: TestNG
IDE: Eclipse
testing.xml
<?xml version="1.0" encoding="UTF-8"?><test name="Pixel">
<parameter name="udid" value="FA6BA0301266"/>
<classes>
<class name="InitialSetup" />
</classes>
</test>
<test name="PixelXL">
<parameter name="udid" value="HT74C0209332"/>
<classes>
<class name="InitialSetup" />
</classes>
</test>
build.gradle
apply plugin: ‘java’
apply plugin: ‘maven’
apply plugin: ‘eclipse’
repositories {
maven { url "https://cloud.experitest.com/repo" }
maven { url "http://repo.maven.apache.org/maven2" }
mavenCentral()
}
dependencies {
compile group: ‘com.experitest’, name: ‘appium’, version:‘11.2.32’
}
test{
useTestNG() {
suites ‘testng.xml’
}
}
@Before
dc.setCapability(MobileCapabilityType.PLATFORM, “android”);
after doing all the setup still the test is not executing simultaneously in two devices.
let me know how this issue can be resolved?