Showing posts with label RemoteExecution. Show all posts
Showing posts with label RemoteExecution. Show all posts

Tuesday, March 8, 2016

EASY TO RUN APPIUM TESTS ON REAL ANDROID DEVICE WITHOUT CONNECTING TO PC USING USB PORT [TESTS RUNS REMOTELY THROUGH WI-FI]

We have to make sure that Android Device is connected with ADB over wi-fi to Run Appium Tests remotely on real Android device.


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 device
5. 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 !!