Wednesday, 7 August 2019

Configure Eclipse and Appium


Install APK (Mobile App) on Real Device using adb.exe

  • Open the command prompt
  • Start server using adb.exe start-server. We can kill and start the Appium server from Command Prompt using the following commands:
    • C:\Users\admin>adb.exe kill-server 
    • C:\Users\admin>adb.exe start-server
  • Verify status of total connected devices using adb devices with the following command:
    • C:\Users\admin>adb.exe devices
  •  Go to apk file directory, Run the below command to Install app.  
    • F:\ApkFiles\adb.exe install APIDemos.apk


Identify Mobile Elements

  •  Identify Elements using Appium Inspector
  • Identify Elements using uiautomator


Eclipse configuration for Appium

Open the following applications:
  •  Android studio
  • Appium desktop server
Download and add the following Jar files in the project setup:
  •  Appium Client Library(java-client-7.0.0.jar)
  • Selenium stand-alone server (Selenium Java jars)
  •  Common_lang3(commons-lang3-3.8.1.jar)

No comments:

Post a Comment