I have done the same as u said...but again it shows the same error...
@Appium_Master , please suggest me to get out of this error...Thank you in advance.!!!
I have done the same as u said...but again it shows the same error...
@Appium_Master , please suggest me to get out of this error...Thank you in advance.!!!
@Srikanth_Katakam , could you please solve this if you know .!! Thank you in advance.
Hi @bhaskar ,
'Cannot find module' is a node error, not an appium or grid related error.
If you are using AppiumForWindows, you must execute "node node_modules/appium" from AppiumForWindows folder instead of "node .".
Hi @rgonalo.. Many Thanks for your reply.!!! I'm not using Appium for windows(.exe)... i have installed it through command prompt by node.js..like " npm install -g appium "
Appium 1.34
Windows 7
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 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
@bhaskar
you can try to put your config file path into quotes like:> appium --nodeconfig "d:\your_path\file_name.json"
How i set default android path and android sdk/build-tools path but it was taking some other path can u fix it
Now I am able to connect my device to Grid...!!!
Thank you @Hassan_Radi and all ...
Hi @nirmal_kumar
Please Make sure that, there is no gap (white spaces) between the words you have given in your path..!!!
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?
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.
Thanks @sameer49
I have executed your which is in github real it's cool and working fine awesome stuff
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
Thanks in advance
I am also facing same issue for app, filed issue for same https://github.com/sameer49/Appium-Grid-For-Android/issues/1126
But its intermittent.