Hi @Appium_Master,I have seen your video posted.it's a nice video... I'm trying to connect my android device to the grid..when adb connect ...it shows below error.
How can i resolve it?Please suggest me that how to connect to the grid.
Hi @Appium_Master,I have seen your video posted.it's a nice video... I'm trying to connect my android device to the grid..when adb connect ...it shows below error.
How can i resolve it?Please suggest me that how to connect to the grid.
Please check my video to connect device over wifi
Appium Tutorial- ADB OVER WIFI: http://youtu.be/55GxzNFpees154
it will reslove your issue
Thanks
I saw your video twice..nice video. Ya it is resolved. Thank you @Appium_Master .But I'm unable connect through Grid. it is showing error.. Could you please go through the following link,my post looks there.
Hi @Appium_Master .. Could you please give me nodeconfig.json information !!!
Thank you in advance
@bhaskar
{
"capabilities":
[
{
"browserName": "note3",
"device": "Appium",
"version":"",
"maxInstances": 1,
"platform":"ANDROID"
}
],
"configuration":
{
"cleanUpCycle":2000,
"timeout":10000,
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"url":"http://localhost:4568/wd/hub",
"maxSession": 1,
"port": 4568,
"host": "localhost",
"register": true,
"registerCycle": 5000,
"hubPort": 4040,
"hubHost": "localhost"
}
}
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..!!!