This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
57 / 169
Feb 2015

Thanks alot @rgonalo . its working fine a bit...but showing error..

My json file looks like as follows.. Are there any changes required? Please let me know if any..!!! Thanks in advance.

{
"capabilities":
[
{
"browserName": "ANDROID",
"device": "LG Nexus5",
"version":"4.4.2",
"maxInstances": 1,
"platform":"ANDROID"
}
],
"configuration":
{
"cleanUpCycle":2000,
"timeout":10000,
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"url":"http://localhost:4723/wd/hub",
"maxSession": 1,
"port": 4723,
"host": "localhost",
"register": true,
"registerCycle": 5000,
"hubPort": 4444,
"hubHost": "localhost"
}
}

I have tried alot with many nodeconfig.json files, again and again it shows the same error...even i have tried with the samples posted by many others....i couldn't get the result except the error as follows,

I tried your file and it worked fine from my side. I can confirm that it is neither a problem with Appium nor with your configurations.

For some unknown reason your keyboard might be inserting the wrong characters, so please download the following file node.txt133), change the extension from .txt to .json (as the website here forbids uploading .json files) and try again.

Also to make sure that there is no syntax error with your json file, you can use the following website: http://www.jsoneditoronline.org/39

8 days later

@bhaskar
you can try to put your config file path into quotes like:> appium --nodeconfig "d:\your_path\file_name.json"

Hi @nirmal_kumar
Please Make sure that, there is no gap (white spaces) between the words you have given in your path..!!!

@bhaskar

Thanks i have done it

are you using parallel execution in testng or junit ?

without these two how can i achieve parallel test execution for android devices?

pinned Mar 13, '15

Hi All,

I have created a simple way to run appium script on multiple android devices simultaneously.
You don't have to bother about how many devices are connected. how many appium server to start, it take cares all of it.

Just need to some installation process and extends one class.
I am still working on it.

https://github.com/sameer49/Appium-Grid-For-Android386

Thanks @sameer49

I have executed your which is in github real it's cool and working fine awesome stuff :smile:

I try with my application to run parallel while installation it'self getting failed saying that error to access the same apk file because my first instance was lock that resource can you give me a solution on it :sunny:

Thanks in advance :heart_eyes:

Nice work @sameer49 , starting the Appium server based on the connected device indeed a great approach and reduces the effort to start grid execution.

8 days later

I have 2 desktop machines in which Appium script is saved in machine 1 and Appium got installed in machine 2 and android devices also connected in machine 2. now i want to take the script from the machine 1 and execute it in the devices connected in the machine 2. how to achieve this.