Appium for Mobile Automation Testing

Course code: STAP01

Duration:       24 Hours

This course will help the audience to learn the different aspect of the up-trending mobile device testing as well as mobile application testing. You will get familiar with many useful tools for black-box and white-box testing of a mobile application. This course also provides a deep insight on mobile device automation testing. By undergoing through this course, you can enable yourself for up-to-date test planning for mobile device and mobile device application testing. In addition, you shall be able to automate basic test scripts for mobile device application testing.

Audience

If you are a quality assurance engineer having interest in mobile device testing as well as mobile device application testing, this course will turn out to be a helping guide.

Prerequisites

Participants should know basic software testing concepts such as test planning, black-box testing methods, etc. In addition, it will help a great deal if the participant is familiar with any scripting languages, for example, JavaScript.

SECTION 1 - Appium - Introduction to the Course & Basic Installation - Prerequisite

Module 1: Introduction to Appium& Mobile automation Testing

  • Introduction to Mobile automation testing
  • Automation for Android devices
  • Running the scripts on Emulators
  • Running the scripts on Real devices
  • Testables items through Appium
  • Difference between Appium & Selendroid
  • Various tools available for Mobile automation testing
  • Understanding the API Levels
  • Module 2: Pre-requisite - Installing JDK, Maven, Android SDK

  • Pre-requisite for starting with Appium
  • Supported Java versions
  • Configuring environment variables
  • Downloading and Installing JDK, Maven, TestNG, Android SDK
  • Module 3: Basic installation for Appium on Windows

  • Visiting Appium.io
  • Downloading Appium for Windows,Appium jars and other dependencies
  • Configuring SDK Manager
  • Downloading different Android API levels
  • Setting up Android environment variables
  • Downloading Appium GUI tool
  • Understanding Application path, Package & Launch activity
  • Starting Appium Server & Running a sample test
  • Module 4: Downloading Appium Dependencies, Desired Capabilities, Packages & Activities information

  • Understanding Desired Capabilities class
  • Extracting Pacakages and Activities information of pre and post installed apps
  • Downloading Appium Maven Dependenies
  • Adding Device Name
  • Connecting real device to USB and running ADB commands
  • Configuring ADB for wifi support
  • SECTION 2 - Appium - Locator Strategies - Identifying Mobile Elements

    Module 5: UI-Automator Viewer

  • Opening UI-Automator Viewer through SDK tools kit
  • Understanding different locator strategies
  • Taking the Device screenshot
  • Device screenshot with Compressed hierarchy
  • Understanding the different locator tags
  • Module 6: Appium Inspector

  • What is Appium Inspector
  • How and when to run it
  • Record and Play using Appium Inspector
  • Locating elements with the help of Appium Inspector
  • Inspector will only run with active session
  • Module 7: Complex Element finding strategies

  • Locating Elements on the App
  • What all can be locatable
  • Locating elements within elements
  • Locating multiple elements
  • FindElementByAndroidUIAutomator
  • Exploring UIAutomator API
  • Finding Elements by ClassName
  • Finding Elements by ids
  • Finding Elements by Xpaths
  • Using different functions inside UIAutomator class
  • SECTION 3 - Appium - Testing Android Native, Hybrid &WebApps on Windows

    Module 8: Native App Test –Run Test on Sample Native Mobile App

  • Save .APK file and Decompile for source code
  • Find Activity and package name
  • Define Test App path to test
  • Write testing Test for automate application
  • Check test result report
  • Module 9: Hybrid App Test –Sample Hybrid App Test

  • Save .APK file and Decompile for source code
  • Find Activity and package name
  • Define Test App path to test
  • Find Native view and web view
  • Write testing test for automate application
  • Check test result report
  • Module 10: Mobile Web App Test – Sample Linkedin Test

  • Appium for chrome mobile browser
  • Add chrome dependencies
  • Specify browser name and chrome port
  • Write Test script and run
  • Check execution result report
  • Course Review