APPIUM
SOFTWARE TESTING
TOOL
AGNES SWETHA . A - (22X002)
TAMILINI . S - (22X056)
1
WHAT IS APPIUM?
• Appium is an Open-Source tool to automate mobile
applications.
• Can automate Native , Web and Hybrid mobile applications.
• Supports Android , iOS and Windows desktop Platforms.
• Supports multiple programming languages.
2
3
HISTORY OF APPIUM
•The program was open-source in Aug 2012 using
Apache 2 license.
•Appium was originally developed by Dan Cuellar
in 2011 under the name of “iOSAuto” ,Written in
the C# Programming language.
4
OVERVIEW OF MOBILE TESTING
• Mobile apps require thorough testing for
reliability.
• Types: Functional, UI/UX, Performance, and
Compatibility testing.
• Challenges: Device fragmentation, OS updates,
network variability.
5
6
WHY DO WE NEED MOBILE TESTING TOOLS?
• Manual testing is time-consuming and error-prone.
• Automated tools ensure faster execution and accuracy.
• Helps simulate real-world scenarios and network conditions.
• Ensures smooth app performance across multiple devices.
7
HOW APPIUM WORKS?
•Appium works in a client – server Architecture.
•Appium is an ‘HTTP Server’ written using –[Link] Platform.
•Desired Capabilities- Set of Keys and Values sent to the Appium
server to tell the server What kind of we are interested in starting up
• Test scripts send commands to the Appium server.
• The server forwards commands to the mobile device.
• The device executes actions and returns results.
• The script receives the response and continues execution.
8
DESIGN OF APPIUM
9
WHY CHOOSE APPIUM?
• Open-source and supports multiple programming
languages.
• No need to modify the app’s source code for
testing.
• Works with real devices, emulators, and simulators.
• Integrates well with CI/CD pipelines.
10
PREREQUISITES FOR INSTALLING
APPIUM
11
For installing the Java
JDK:
12
13
14
•Step 1: Install [Link] (If not already installed)
->Download and install [Link]:
[Link] to the official [Link] website:[Link]
2. Download the LTS version (Long Term Support).
[Link] the installer and follow the instructions.
15
16
OUTPUT:-
17
Step 2: Install Appium
-->Install Appium globally using npm (Node Package Manager):
[Link] the command prompt (Windows) or terminal
(Mac/Linux).
[Link] the following command to install Appium globally:
18
19
OUTPUT:-
20
STEP 3: INSTALL APPIUM DESKTOP (OPTIONAL BUT
RECOMMENDED)APPIUM
Appium Desktop is a graphical interface for Appium that
helps you interact with your tests and Appium server.
-->Download and Install Appium Desktop:
[Link] to the Appium GitHub releases page(
[Link]
21
[Link] the appropriate version for your operating
system (Windows/Mac/Linux).
[Link] the instructions to install Appium Desktop on
your machine.
Once installed, you can open Appium Desktop and use
the Appium Inspector to interact with your app.
22
STEP 4: SET UP ANDROID EMULATOR (IF NOT
ALREADY SET UP)
23
24
Here is my sample BMI code
Output:-
25
26
27
28
29
30
31
32
33
34
35
CREATE A PYTHON TEST SCRIPT (IN NOTEPAD++):-
36
37
38
39
40
41
42
43
Thank you
44