
We can differentiate them by their uid (unique device id). In the above image, it’s seen that there are currently two active devices available to perform mobile testing with Appium. For this, We use adb devices command on the command line. Before that let’s validate active devices available for testing. Go back and Tab Developer Option and Make sure USB Debugging is enabledĪfter enabling USB debugging, your physical device is ready to accept the test commands.If it’s already enabled in your phone then you will get a notification as per picture below, otherwise, you will get a confirmation message that you’re now a Developer! Tap 7 times at Build number or Software version (different naming in different phones).How to enable USB debugging through Developer’s mode in Android devices?įollow the steps below to enable USB debugging in your physical Android’s device: Configure your project with Java WebDriver clientĮarlier we have already discussed most of the pre-requisites in a separate article, except on enabling developer’s mode on Android devices.Enable Developer’s mode (USB debugging) for testing on physical devices.Enable Android emulator for AVD app testing.Recommended: Easy way to get Android App Package and Android App Activity for native app testing Pre-Requisites for configuring Appium in Eclipse You can pick whichever method suits best for your project. Yes, here we will configure Appium in Eclipse either through Maven dependency resolution via pom.xml or by importing jar file of appium java client into our project. It should be well understood to you, if we talk about Eclipse or any other IDE then there must be the inclusion of Jar file or Eclipse plugin or dependency resolution. The next question would be how shall we send our test to mobile devices? Well, for that we need to configure Appium in IDE (Eclipse or IntelliJ) along with Selenium, TestNG and Maven. In previous Appium tutorials, we have seen the configuration of Emulator for performing Appium testing.
