Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Appium

( Duration: 5 Days )

This Appium training course covers both Android as well as IOS real time device testing. You will learn the various types of frameworks - Data Driven Framework, Hybrid Framework, Page Object Model and Cucumber BDD with end to end report generation, batch running of test cases and reading data from XLS/properties file.

By attending Appium workshop, delegates will learn:

  • To automate hybrid as well as native apps on both Android as well as IOS automation.

COURSE AGENDA

1

Introduction To Mobile Automation

  • Introduction To Mobile Automation
  • Tools for mobile application?
  • What is Appium?
  • Why to choose Appium over other tools
  • What all can be tested with Appium?
  • WebDriver Wire protocol
  • Hybrid Apps
  • Native Apps and WebApps
2

Download And Configure Appium On Android

  • Appium Installation Overview
  • Installation of Appium on Real Android Device
  • Difference in Hybrid and Native Apps
  • Download and Install Android SDK
  • Set Android Home And Path Variable / Test Android
  • What is API Level in Android and How is it different than Android version
  • Appium compatibility with API levels
  • Update Android SDK Platforms
  • Install ADT plugin in Eclipse
  • Set Path Of Android SDK In Eclipse and restart eclipse
  • Node Js and Dot Net Framework Installation for Appium
  • Enabling Developer Mode in Phone for Appium Android
  • Enabling USB Debugging in Phone
  • Phone USB Drivers
  • Enabling File Transfer in Phone
  • Extracting APK of any android Application for Appium
  • Download and Install Appium Desktop Server
  • Downloading Selenium
  • Appium Jars
  • Concept of DesiredCapabilities
  • Appium Desired Capabilities and Mobile Capabilities
  • Launch Android Application using Appium Code
  • AndroidDriver in Appium
  • Difference Between No Reset And Full Reset
  • Preventing appium from reinstalling application APK
  • Finding Activity Name and Package Name
  • Launching Android App with Apk with Appium
  • Maven Dependencies for Appium
  • Configure Appium With Maven
  • Download Appium
  • Running Appium from Command line
  • Running Appium server programmatically
  • Android Emulator Set up for Appium
  • AVD setup in Android Studio
  • Creating AVD
  • Launching Apps on AVD with Appium
3

Appium Architecture

  • Appium Javadocs and Important Classes/Interfaces Defining Architecture
  • WebDriver, AppiumDriver, AndroidDriver, IOSDriver
  • MobileElement, AndroidElement, IOSElement Classes
  • Can One Appium script work on Both IOS and Android Apps
  • UiAutomator2 and Espresso Driver
4

Appium Mobile App Commands

  • Importance of Activity Name and Package Name
  • Checking if App is Installed on the phone
  • Closing App
  • Installing Any App in Existing Appium Session
  • Launching Any Other App During session
  • Running app in background for sometime and permanently
  • ActivateApp And TerminateApp Functions
  • Getting Current Activity
  • Starting any Activity
  • Difference between activateApp and startActivity
  • Clearing Cache and Cookies of an App
  • Checking the Running state of the App
  • Quitting the Session
  • Difference Between close,closeApp,quit Commands
5

Appium Device Commands

  • How to minimize and maximize app?
  • Hiding keyboard
  • Checking if keyboard is hidden
  • Pressing any key of Keyboard
  • Checking if device is Locked
  • Unlocking device
  • Finding Screen Orientation
  • Rotating device - Landscape and Portrait Modes
  • Geo Commands
  • Toggling Wifi, GPS, Data, Plane mode
  • Taking Screenshots
  • Recording Screen during Appium test execution
  • Extracting Session ID
  • Extracting Underlying Source
  • Managing Logs
6

Identifying Elements In Mobile

  • Configuring Appium Inspector
  • Components of Appium Inspector
  • Investigate Elements in Appium Inspector
  • Coordinates on screen and Bounds of an element
  • Web And Mobile Commands
  • By and MobileBy Classes and Differences
  • Finding By ID
  • Importing Appium Javadocs in Eclipse
  • Concept of Xpath
  • Changing Activity Names
  • Explicit Wait and Mobile Elements
  • Custom Functions to Interact with Mobile Elements
  • Building your own Xpath
  • Finding Elements which appear after scrolling
7

Mobile Elements and UIAutomator

  • MobileBy Locator Strategy
  • Concept of AccessibilityID
  • Concept of Resource ID, Content Description
  • AndroidUIAutomator Commands
  • Finding Multiple Elements
  • Finding Elements By AndroidUIAutomator
  • Finding Elements By Text
  • Finding Elements By Resource ID and Content Description
  • Elements Inside Elements
  • Checking Presence of Element on the web Page
  • Waiting for Interaction to be successful
  • Managing checkboxes, textfields, buttons and MobileElements
  • Finding Atrributes
  • Visibility Check for Elements
8

Mobile Touch Interactions

  • AndroidTouchAction and IOSTouchAction classes
  • TouchActions and TouchAction Classes
  • Why to use TouchAction Class
  • Tapping a MobileElement
  • Press and Long Press Mobile Element
  • Location Commands
  • Swiping the screen - horizontally/vertically
  • Scrolling the screen - horizontally/vertically
  • Dragging and Dropping Elements
  • Performing Pinch and Zoom Actions
  • Building Custom Class and Functions to perform swiping/scrolling
9

WebViews / Web Application Testing

  • Working with Browsers on Mobile Phone
  • Automating Web Browsers
  • Inspecting elements in Chrome on Mobile
  • Working with WebView
  • What is Webview
  • Detecting Webview
  • Different views in Apps
  • Setting Chromedriver Exe Path in Desired Capabilities
  • Switching over to webview
  • Finding elements in Webview and Interact
10

Implementing Grid/parallel Execution

  • Why do we need parallel execution
  • Testing and parallelism
  • Starting the hub
  • Registering nodes with hub
  • Various node configurations
  • Configuring json files for nodes
  • Running tests parallely on devices connected to same machine
  • Running tests parallely on devices connected to different machines
11

Appium On Ios Real Device/simulator

  • Installation of Brew
  • Ant Installation and configuration
  • Npm commands
  • Node Installation
  • Xcode installation
  • External Dependancies
  • Configure IdeviceInstaller
  • Cathrage and Libimobile
  • Install Appium Doctor
  • Appium Installation
  • Check whether node , npm is prpoperly installed or not
  • Run Appium-doctor
  • Ensure JAVA HOME is set properly
  • WebDriverAgent Configuration
  • Download Appium dmg
  • Configure Appium in system
  • Download and configure Appium XcuiTest Drivers
  • Installation of webDriver Commands
  • Running Xcode Project
  • Configuration of signing authority in Xcode
  • Get Udid of real device
  • Run xcode project in real device
  • Test whether Xcode project and webdriver is properly configured or not
  • Test whether Xcode project and webdriver are properly con figured or not
  • Start Appium
  • Set desired capabalities
  • Start Appium on IOS
  • Configure Xcode params
  • Check all Simulators Present
  • Get Details of Simulators , their identifeir id and their full names
  • Running all apps via Xcode
  • Chanage Desired capabilities in Appium
  • Remove udid from existing desired capability
12

Appium, Android Setup On Mac

  • Install and configure Android Studio
  • Download jars for selenium and appium
  • Configure ANDROID_HOME and PATH variables
  • Confgiure JAVA_HOME
  • Ensure PATH variables
  • Download Appium and Eclipse
  • Configure Tools and Api levels for Android
  • Connect your device to MAC
  • Confgiure Appium
  • Add dependancies
  • Add desired capabilities
  • Appium Inspector
  • Start UI Automator2
  • Retrive Xpath from UI Automator2
  • Running your first code from Eclipse
13

Appium Mac Ios Identifying Element-1

  • Connecting iPhone and making sure its detected
  • UIAutomation in IOS
  • Launching Automation instrument in Xcode
  • Recording/Running scripts in Automation Instrument
  • Importance of Automation Instrument
  • Using Appium Inspector
  • Making sure Appium inspector Launches correctly
  • Analyzing Object Hierarchy in inspector
  • Record/Run in Appium inspector
  • Generating script from Inspector
  • Exploring Touch, Text, Locator, Misc options in inspector
14

Basics Of Appium IOS Architecture

  • AppiumDriver Class
  • IOSDriver Class
  • Be sure about the port number
  • Object Casting
  • Modifying Eclipse settings to have Auto-suggest Enabled
  • Help - Appium not running after inspecting element
  • Finding bundle ID of App
  • Checking if App is Installed
  • Rotate - Landscape and Portrait Modes
  • CloseApp
  • LaunchApp
  • ResetApp
  • LockScreen
  • RunAppInBackground
  • RemoveApp
  • InstallApp
15

Locator Strategies - 1

  • Understanding layout and Details in Appium Inspector
  • Value, Label And StaticText in IOS Elements
  • Locators - ID, Name, Xpaths
  • Classes/Types in IOS
  • Different ways to make/generate Xpaths
  • TextFields - write and read
  • Hiding Keyboard
  • Radios and Checkboxes - SelectView App
  • DropDowns/Spinners
  • When Objects are not identified
  • Using UI Automation Framework - findElementByIosUIAutomation
  • Waiting - Implicit and Explicit waits
16

Locator Strategies - 2

  • Using UI Automation IOS AndroidFramework
  • Challenges with UI Automation Framework
  • Finding Multiple Elements
  • Finding Elements inside Elements
  • ComplexFind and MobileElement
  • Using JavascriptExecutor
  • Execute and ExecuteScript Functions
  • Selector Key codes
  • Checking presence of Element
  • Using Assertions and validating
17

Touchactions

  • Scroll and MobileElement
  • Swipe
  • Find dimensions of Device under test
  • TouchActions Class
  • Various functions in TouchActions Class
  • Mobile Commands and JavascriptExecutor
  • Taking screenshots
18

Other UI Elements

  • WebDriverWait- Explicit wait
  • Alerts
  • WebViews
  • Date Selection from UI catalog - Managing wheels in Picker

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X