We have to make sure that Android Device is connected with ADB over wi-fi to Run Appium Tests remotely on real Android device.
2. Make sure device and computer are connected to the same Wi-Fi.
3. Run this command to restart adb and make it work over tcpip:
5. Get IP address of your phone
6. Run this command to connect adb to your device over Wi-Fi using IP address:
Happy Automation !!
Steps:
1. Connect device to computer via USB.2. Make sure device and computer are connected to the same Wi-Fi.
3. Run this command to restart adb and make it work over tcpip:
adb tcpip 5555
4. Disconnect device5. Get IP address of your phone
6. Run this command to connect adb to your device over Wi-Fi using IP address:
adb connect <Phone IP Address>
7. Verify, that adb works remotely:
adb devices
8. Run tests over Wi-Fi.Happy Automation !!