Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.07 KB

File metadata and controls

41 lines (31 loc) · 1.07 KB

appiumGmailAppLogin

Test Gmail App Login function using Appium

Prerequisites

Installations

  1. Install NodeJS
  2. Install Appium using NodeJS
  3. Install Android Studio

Configurations

  1. Set ANDROID_HOME system variable
  2. set ANDROID_HOME/tools system variable
  3. set ANDROID_HOME/emulator system variable

Install Appium doctor and execute to check paths

Other

Login details

user name : "Krypton Demo"
email : "krypton.mobile.demo@gmail.com"
password: "mobile.demo"

Steps

  1. Open Android Studio -> Manage Emulators
  2. Create new AVD "Pixel 2" with API version 27
  3. Import project into IDE, I used InteliJ IDEA which is my favorite
  4. Import dependencies using gradle
  5. Execute GmailLoginTest as a Junit Test case
  6. Test will automatically start Appium server,Android Emulator and start executing tests
  7. DesiredCapabilities of Appium driver defined in "desiredCapabilities.properties" file)

Screenshots will be captured into "Screenshot" directory.
Video recordings related to sucessful test execution included in "Screen recordings" folder.