@bhaskar :- You can watch my above video from 2:13.
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/55GxzNFpees
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
Then you must use âappium --nodeconfig âŚâ
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 have tried alotâŚbut no use.Any suggestions on this???
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.txt), 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/
@bhaskar
you can try to put your config file path into quotes like:> appium --nodeconfig âd:\your_path\file_name.jsonâ
hi All
how i can run appium instance as bat file to register selenium grid
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âŚ!!!