The document outlines best practices for mobile testing sessions using Appium, emphasizing etiquette like punctuality and avoiding distractions. It explains mobile testing processes, distinguishes between mobile and web app testing, and highlights the importance and growth of mobile app testing. Additionally, it provides a brief overview of Appium as an open-source automation tool and its architecture, session management, and testing flow.
Lack of etiquetteand manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session timings, you
are requested not to join sessions
after a 5 minutes threshold post
the session start time.
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep your mobile devices in silent
mode, feel free to move out of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat during
the session.
3.
Agenda
01 What isMobile Testing
02 What is Appium
03 Appium Architecture
04 Elements of Appium
05 Demo
4.
What is MobileTesting?
“Mobile device testing is the process by which mobile apps are tested for
functionality, usability, and security. Testing app on mobile devices can be
done manually or with automation.”
➢ Functional
➢ Real Environment
➢ Non-Functional
Type of testing:
5.
● Testing ofmobile functionality will require more QA
resources.
How is Mobile App Testing different from
Web App Testing?
● Mobile applications are specifically designed and developed for
operating on mobile devices.
● web applications are software applications that reside on web
servers and are accessed through web browsers.
6.
6
Why Mobile TestingIs Important?
➔ Mobile apps are important for
conducting business.
➔ Mobile app testing is successfully
growing day by day in the digital world.
Online
converter
● Native Application
● Web mobile Application
● Hybrid Application
What is Appium?
●Appium tool is an open-source, cross-platform automation testing tool.
● The Appium server is a script in Node.js and Appium tool is also
compatible with leading client libraries like Java, Python, Ruby, PHP, and a
few others.
● Mobile native and hybrid applications as well as web
mobile application.
● Appium was originally developed by Dan Cuellar in 2011
9.
Elements of Appium
AppiumServer
Appium Inspector
Mobile Device / Emulator
1. Terminal based
2. GUI Based - Appium Desktop
1. Android Device
2. iOS devices
3. virtual device
Integrated Development
Environment (IDE)
● Appium supportsclient/server architecture
Sessions In Appium
Now the question arises,how a client can create a
session?
➢ The client can create a session by sending the post/session request to the server.
➢ This session request contains all the required information related to the device on which
we want to run our automation in the form of a JSON object known as “Desired
Capabilities”.
12.
How we ConfiguringMobile Device With Appium
For run our test cases on mobile devices, we need to
ensure that :
● USB Debugging mode is enabled on the mobile device.
● ADB recognizes the device connected to the system.
● Changing the Desired capability as per the device/application.
● Appium java-client
library
● selenium-java
13.
Flow of testing
STEP1
Run/Start the Appium
Server
STEP 2
open/start Emulator
Run Intellij IDEA
STEP 4
setup connection on
Target App
A B C D
Run Appium Inspector
STEP 3