We can execute the test cases using either Appium or Calabash by connecting android device to Wi-Fi.
Following are the steps to Connect Android device through WIFI
Android SDK is installed.
Connect your device to your PC as usual via usb
Device and Automation Box connected to same WiFI
Disconnect your device now
Ensure that your phone is connected to the same wifi network as your PC.
Get the IP address of your phone (“Settings" -> Wifi -> “Your connected network” -> Your IP address will be shown here)
Run the ‘adb connect’ command
You are now connected.
To verify that adb has indeed connected successfully, run -
If it shows your device, then you are good to go with either appium or calabash
Following are the steps to Connect Android device through WIFI
Prerequisite:
Android SDK is installed.
Connect your device to your PC as usual via usb
Device and Automation Box connected to same WiFI
- $ adb tcpip 5555 –>This will restart adb and make it work over tcpip.
Disconnect your device now
Ensure that your phone is connected to the same wifi network as your PC.
Get the IP address of your phone (“Settings" -> Wifi -> “Your connected network” -> Your IP address will be shown here)
Run the ‘adb connect’ command
- $ adb connect <your phones ip address>
You are now connected.
To verify that adb has indeed connected successfully, run -
- $ adb devices
If it shows your device, then you are good to go with either appium or calabash
Other popular posts:
File Downlaoding using Selenium Webdriver
All possible ways for handling DragAndDrop using Selenium
All Possible ways for switching frames in Selenium
Automating tables tags using Selenium
How to install Maven on Windows
All Possible ways for switching frames in Selenium
Automating tables tags using Selenium
How to install Maven on Windows