Skip to content

Android application (Google Calculator) automation project using Appium and TestNG

Notifications You must be signed in to change notification settings

asif-shahriar/Appium-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appium-Automation

Prerequisites

  • Install Android Studio latest version
  • Install Appium 1.17.1
  • Install jdk 8 or any LTS version
  • Configure ANDROID_HOME, JAVA_HOME and GRADLE_HOME
  • Stable internet connection

How to run this project

Appium

  • Turn on Developer Options on your android phone
  • Connect your android phone with USB cable
  • Open cmd and give adb devices command to get uuid
  • Open Appium and start server. Then open inspector tool
  • In the JSON Representation section, paste the following desired capabilities after adding your uuid and version
{
  "deviceName": "My Android",
  "platformName": "Android",
  "uuid": Enter your uuid here,
  "platformVersion": Enter your android version,
  "appPackage": "com.google.android.calculator",
  "appActivity": "com.android.calculator2.Calculator"
}
  • Click Start Server

Java Client

  • Clone the repo
  • Enter your uuid in the AppLaunch class
  • Open cmd in the root folder
  • Give following command
gradle clean test

Screenshot

Screenshot_1

About

Android application (Google Calculator) automation project using Appium and TestNG

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages