[Android][Java-Client][Solution]-- Trigger Test in Parallel without using grid

Hi All,

There are lot of threads floating around on how to run tests in parallely in android devices, so i just build a wrapper. Please take a look at the repo. Thoughts ?

Sample Test Example can be found here

Looking forward to get some feedbacks.

Hi Sai, Thanks for sharing this awesome parallel execution solution however when i tried to run your project on Mac OS i am getting “java.io.IOException: Cannot run program “adb”: error=2, No such file or directory” on “adb” command run thru Java program, can you please provide some solution so i can give it a try and apply this same login in my company’s project.

Note : When i try to run project thru maven command in terminal i don’t get any error but when i try to run it in eclipse for debug purpose i am getting above error.


you may have to set your android home etc. environment varialbles in eclipse see http://stackoverflow.com/questions/7048216/environment-variables-in-eclipse

1 Like

Setting android home variable in eclipse doesn’t solved the problem, can you please share other solution.


@vinit_sears check this link i have updated … Try this n update

When I try to run ANY test I have error “org.testng.TestNGException:
Parameter ‘device’ is required by @Configuration on method startAppiumServer but has not been marked @Optional or defined”

Where and how I must specify Parameter ‘device’?

@defonus sorry for the delayed response.

from command line you need to trigger the command: mvn clean -Dtest=Runner test