Hello @Willosser,
Thanks for your response. It is combination of selenium Grid and my devices registration with this.
So Here It is:
- Making sure my Selenium grid is up and running
Then registering Node android devices with Grid (Having a bat file for the nodes).
Then In eclipse Passing my Script to Testng.XML
and with all this, I am able to achieve parallelism but only when my devices are not locked (Awake) but problem starts with devices locked and then Parallelism fails.
Here is Testng.XML
<?xml version="1.0" encoding="UTF-8"?>
<test name="Moto E1">
<parameter name="port" value="4567"></parameter>
<parameter name="deviceID" value="192.168.1.24:5555"></parameter>
<classes>
<class name="SamplePackage.ThreeBrowsers">
<methods>
<include name="testcase" />
</methods>
</class>
</classes>
</test>
<test name="Mote E2">
<parameter name="port" value="4568"></parameter>
<parameter name="deviceID" value="192.168.0.6:5555"></parameter>
<classes>
<class name="SamplePackage.ThreeBrowsers">
<methods>
<include name="testcase" />
</methods>
</class>
</classes>
========================================
Please let me know if anything missing in this or some other issue?