Test Gmail App Login function using Appium
- Install NodeJS
- Install Appium using NodeJS
- Install Android Studio
- Set ANDROID_HOME system variable
- set ANDROID_HOME/tools system variable
- set ANDROID_HOME/emulator system variable
Install Appium doctor and execute to check paths
Login details
user name : "Krypton Demo"
email : "krypton.mobile.demo@gmail.com"
password: "mobile.demo"
- Open Android Studio -> Manage Emulators
- Create new AVD "Pixel 2" with API version 27
- Import project into IDE, I used InteliJ IDEA which is my favorite
- Import dependencies using gradle
- Execute GmailLoginTest as a Junit Test case
- Test will automatically start Appium server,Android Emulator and start executing tests
- 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.