SlideShare a Scribd company logo
Presented By:
Omar Usman
TESTING USINGAPPIUM
Introduction
01
APPIUM
Introduction
‣ Appium is an open source tool for automating native,
mobile web, and hybrid applications on iOS mobile,
Android mobile, and Windows desktop platforms.
‣ Appium is Used to automate tests for native,
hybrid(.ipa and .apk) and mobile web applications.
‣ Native apps are those written using the iOS, Android,
or Windows SDKs
02
Why Appium
WHY APPIUM?
‣ Open Source Not only is Appium free of cost, but also open source. This
means Appium can be tweaked infinitely to work according to your whims.
‣ Cross-Platform Appium can test any mobile application whether it be a
native one, a hybrid one or even a web app. Whether the app works only
on iOS or Android or even both, Appium has you covered. Above that,
Appium, itself can be installed on Windows, Mac and Linux.
‣ Framework Support Appium as a framework is also supported by various
automation testing tools out there.You shouldn't be locked into a specific
language or framework to write and run your tests.
‣ Community A budding community is extremely necessary. An active
community results in faster bug reports and easier troubleshooting which
is key to the success of an automation testing tool.
03
Architecture
HOW APPIUM WORKS
APPIUM ARCHITECTURE
• Appium is an HTTP server written using Node.js
• The client communicates to the server using a session, where key elements
of the communication process is sent with the help JSON objects.
Communication is handled by the mobile JSON Wire Protocol.
• Automation is always performed in the context of a session. Clients initiate a
session with a server in ways specific to each library, but they all end up
sending a POST /Session request to the server, with a JSON object called
the 'desired capabilities’ (discussed later) object. At this point the server will
start up the automation session and respond with a session ID which is
used for sending further commands.
HOW APPIUM WORKS
APPIUM ARCHITECTURE
• The server differentiates between an iOS request and an Android request
using the desiredCapabilites arguments.
• Appium server then processes the request to the respective UI Automators
• The UI Automator then processes the request and executes the command
on a simulator/emulator/real device.
• The results of the test session are then communicated to the server and
then back to the client system in terms of logs, using the mobile JSON Wire
Protocol.
APPIUM ON ANDROID
APPIUM ON IOS
System
Requirements
04
SYSTEM REQUIREMENTS
ANDROID
• Java (version 7 or later).
• Android SDK API (version 17 or later).
• Android Virtual Device (AVD) or real device.
• Node and npm
IOS
• Xcode (greater than or equal to 4.6.3; 5.1 is recommended) with the
command-line build tool
• Mac OS X 10.7 or later
• Java version 7 or later
• Homebrew
• Node and npm
STEPS TO SETUP
1.InstallANDROID SDK.
2.Install JDK (Java Development Kit)
3.Install Eclipse or IntelliJ
4.Install Appium and Appium Desktop Client
5.Install Appium Doctor in Terminal
6.Install Selenium Server JAR
7.Appium Client Library (in Java, Ruby, Python, PHP, JavaScript, and C#)
8.Add These Files to Eclipse Project (or as Dependencies)
Getting Started
05
GETTING STARTED
Step 01
Start Appium Server From Terminal or By Appium Desktop app
GETTING STARTED
Start Appium Server From Terminal or By Appium Desktop app
The Appium Server can be initiated
by Appium app running on Port 4723
and local host 0000.
GETTING STARTED
Step 02
Start Eclipse or Any Other IDE
Create New Project
Add Dependencies in The Project
Language Client Library (i.e Java)
Selenium Libraries (To use WebDriver)
GETTING STARTED
Add Desired Capabilities In Java Code for Selenium Server
deviceName = Your Device NAME
udid = Device UDID
platformName = Android or IOS
platformVersion = System Version
appPackage = Name of Package You are going to Target
appActivity = Name of Unique App you are Going to Test
Step 03
GETTING STARTED
Find Object’s ID in App By UIAutomator or UIAutomatorViewer
Use these ID values of respective elements in Code to test your app
accordingly
Step 04
You are Good To Test
CONS of Appium
06
CONS OF APPIUM
Cons
‣ Appium does not support testing of Android Version
lower than 4.2.
‣ Limited support for hybrid app testing. e.g.: not
possible to test the switching action of application from
the web app to native and vice-versa.
‣ Sometimes it is hard to Setup on System.
‣ No support to run Appium Inspector on Microsoft
Windows.
REFERENCES AND LINKS
References
‣
‣
‣ http://appium.io/docs/en/about-appium/intro/
http://appium.io/docs/en/about-appium/getting-started/
index.html
https://www.toolsqa.com/mobile-automation/appium/
appium-tutorial/
Thank You!

More Related Content

What's hot

Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
Maria Machlowska
 
Appium
AppiumAppium
Appium overview
Appium overviewAppium overview
Appium overview
Abhishek Yadav
 
Appium
AppiumAppium
Appium Architecture | How Appium Works | Edureka
Appium Architecture | How Appium Works | EdurekaAppium Architecture | How Appium Works | Edureka
Appium Architecture | How Appium Works | Edureka
Edureka!
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
Softheme
 
Postman & API Testing by Amber Race
Postman & API Testing by Amber RacePostman & API Testing by Amber Race
Postman & API Testing by Amber Race
Postman
 
Introduction to AWS Device Farm
Introduction to AWS Device FarmIntroduction to AWS Device Farm
Introduction to AWS Device Farm
Amazon Web Services
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
SQALab
 
Introducing AWS Device Farm
Introducing AWS Device FarmIntroducing AWS Device Farm
Introducing AWS Device Farm
Amazon Web Services
 
Mobile application testing tutorial
Mobile application testing tutorialMobile application testing tutorial
Mobile application testing tutorial
Lokesh Agrawal
 
Appium an introduction
Appium   an introductionAppium   an introduction
Appium an introduction
Vivek Shringi
 
Mobile Application Testing Training Presentation
Mobile Application Testing Training PresentationMobile Application Testing Training Presentation
Mobile Application Testing Training Presentation
MobiGnosis
 
Appium solution
Appium solutionAppium solution
Appium solution
Nael Abd Eljawad
 
Appium, Test-Driven Development, and Continuous Integration
Appium, Test-Driven Development, and Continuous IntegrationAppium, Test-Driven Development, and Continuous Integration
Appium, Test-Driven Development, and Continuous Integration
TechWell
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
vodQA
 
Introduction To Mobile-Automation
Introduction To Mobile-AutomationIntroduction To Mobile-Automation
Introduction To Mobile-Automation
Mindfire Solutions
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
Tharindra Jayamaha
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Ramakrishna Telapolu
 
Mobile App Testing
Mobile App TestingMobile App Testing

What's hot (20)

Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
 
Appium
AppiumAppium
Appium
 
Appium overview
Appium overviewAppium overview
Appium overview
 
Appium
AppiumAppium
Appium
 
Appium Architecture | How Appium Works | Edureka
Appium Architecture | How Appium Works | EdurekaAppium Architecture | How Appium Works | Edureka
Appium Architecture | How Appium Works | Edureka
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Postman & API Testing by Amber Race
Postman & API Testing by Amber RacePostman & API Testing by Amber Race
Postman & API Testing by Amber Race
 
Introduction to AWS Device Farm
Introduction to AWS Device FarmIntroduction to AWS Device Farm
Introduction to AWS Device Farm
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
 
Introducing AWS Device Farm
Introducing AWS Device FarmIntroducing AWS Device Farm
Introducing AWS Device Farm
 
Mobile application testing tutorial
Mobile application testing tutorialMobile application testing tutorial
Mobile application testing tutorial
 
Appium an introduction
Appium   an introductionAppium   an introduction
Appium an introduction
 
Mobile Application Testing Training Presentation
Mobile Application Testing Training PresentationMobile Application Testing Training Presentation
Mobile Application Testing Training Presentation
 
Appium solution
Appium solutionAppium solution
Appium solution
 
Appium, Test-Driven Development, and Continuous Integration
Appium, Test-Driven Development, and Continuous IntegrationAppium, Test-Driven Development, and Continuous Integration
Appium, Test-Driven Development, and Continuous Integration
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Introduction To Mobile-Automation
Introduction To Mobile-AutomationIntroduction To Mobile-Automation
Introduction To Mobile-Automation
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
Mobile App Testing
Mobile App TestingMobile App Testing
Mobile App Testing
 

Similar to Appium Presentation

Appium.pptx
Appium.pptxAppium.pptx
Appium.pptx
SameerAlam82
 
Automation using Appium
Automation using AppiumAutomation using Appium
Automation using Appium
Livares Technologies Pvt Ltd
 
Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)
danielputerman
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
kalichargn70th171
 
Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appium
Ambreen Khan
 
The ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appiumThe ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appium
headspin2
 
Next level of Appium
Next level of AppiumNext level of Appium
Next level of Appium
Keshav Kashyap
 
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Srijan Technologies
 
Appium understanding document
Appium understanding documentAppium understanding document
Appium understanding document
Akshay Pillay
 
Selenium, Appium, and Robots!
Selenium, Appium, and Robots!Selenium, Appium, and Robots!
Selenium, Appium, and Robots!
hugs
 
Appium Overview - by Daniel Puterman
Appium Overview - by Daniel PutermanAppium Overview - by Daniel Puterman
Appium Overview - by Daniel Puterman
Applitools
 
Appium solution artizone
Appium solution   artizoneAppium solution   artizone
Appium solution artizone
Nael Abd Eljawad
 
Building And Executing Test Cases with Appium and Various Test Frameworks.pdf
Building And Executing Test Cases with Appium and Various Test Frameworks.pdfBuilding And Executing Test Cases with Appium and Various Test Frameworks.pdf
Building And Executing Test Cases with Appium and Various Test Frameworks.pdf
pCloudy
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
Appuim 101
Appuim 101Appuim 101
ATAGTR2017 Appium
ATAGTR2017 AppiumATAGTR2017 Appium
ATAGTR2017 Appium
Agile Testing Alliance
 
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Applitools
 
Designing an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkDesigning an effective hybrid apps automation framework
Designing an effective hybrid apps automation framework
Andrea Tino
 
The Future of Selenium Testing for Mobile Web and Native Apps
The Future of Selenium Testing for Mobile Web and Native AppsThe Future of Selenium Testing for Mobile Web and Native Apps
The Future of Selenium Testing for Mobile Web and Native AppsSauce Labs
 
Mobile automation using Appium
Mobile automation using AppiumMobile automation using Appium
Mobile automation using Appium
Saroj Singh
 

Similar to Appium Presentation (20)

Appium.pptx
Appium.pptxAppium.pptx
Appium.pptx
 
Automation using Appium
Automation using AppiumAutomation using Appium
Automation using Appium
 
Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appium
 
The ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appiumThe ultimate guide to mobile app testing with appium
The ultimate guide to mobile app testing with appium
 
Next level of Appium
Next level of AppiumNext level of Appium
Next level of Appium
 
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
 
Appium understanding document
Appium understanding documentAppium understanding document
Appium understanding document
 
Selenium, Appium, and Robots!
Selenium, Appium, and Robots!Selenium, Appium, and Robots!
Selenium, Appium, and Robots!
 
Appium Overview - by Daniel Puterman
Appium Overview - by Daniel PutermanAppium Overview - by Daniel Puterman
Appium Overview - by Daniel Puterman
 
Appium solution artizone
Appium solution   artizoneAppium solution   artizone
Appium solution artizone
 
Building And Executing Test Cases with Appium and Various Test Frameworks.pdf
Building And Executing Test Cases with Appium and Various Test Frameworks.pdfBuilding And Executing Test Cases with Appium and Various Test Frameworks.pdf
Building And Executing Test Cases with Appium and Various Test Frameworks.pdf
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
 
Appuim 101
Appuim 101Appuim 101
Appuim 101
 
ATAGTR2017 Appium
ATAGTR2017 AppiumATAGTR2017 Appium
ATAGTR2017 Appium
 
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
 
Designing an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkDesigning an effective hybrid apps automation framework
Designing an effective hybrid apps automation framework
 
The Future of Selenium Testing for Mobile Web and Native Apps
The Future of Selenium Testing for Mobile Web and Native AppsThe Future of Selenium Testing for Mobile Web and Native Apps
The Future of Selenium Testing for Mobile Web and Native Apps
 
Mobile automation using Appium
Mobile automation using AppiumMobile automation using Appium
Mobile automation using Appium
 

Recently uploaded

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
Jelle | Nordend
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdf
MayankTawar1
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 

Recently uploaded (20)

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdf
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 

Appium Presentation

  • 3. APPIUM Introduction ‣ Appium is an open source tool for automating native, mobile web, and hybrid applications on iOS mobile, Android mobile, and Windows desktop platforms. ‣ Appium is Used to automate tests for native, hybrid(.ipa and .apk) and mobile web applications. ‣ Native apps are those written using the iOS, Android, or Windows SDKs
  • 5. WHY APPIUM? ‣ Open Source Not only is Appium free of cost, but also open source. This means Appium can be tweaked infinitely to work according to your whims. ‣ Cross-Platform Appium can test any mobile application whether it be a native one, a hybrid one or even a web app. Whether the app works only on iOS or Android or even both, Appium has you covered. Above that, Appium, itself can be installed on Windows, Mac and Linux. ‣ Framework Support Appium as a framework is also supported by various automation testing tools out there.You shouldn't be locked into a specific language or framework to write and run your tests. ‣ Community A budding community is extremely necessary. An active community results in faster bug reports and easier troubleshooting which is key to the success of an automation testing tool.
  • 6.
  • 8. HOW APPIUM WORKS APPIUM ARCHITECTURE • Appium is an HTTP server written using Node.js • The client communicates to the server using a session, where key elements of the communication process is sent with the help JSON objects. Communication is handled by the mobile JSON Wire Protocol. • Automation is always performed in the context of a session. Clients initiate a session with a server in ways specific to each library, but they all end up sending a POST /Session request to the server, with a JSON object called the 'desired capabilities’ (discussed later) object. At this point the server will start up the automation session and respond with a session ID which is used for sending further commands.
  • 9. HOW APPIUM WORKS APPIUM ARCHITECTURE • The server differentiates between an iOS request and an Android request using the desiredCapabilites arguments. • Appium server then processes the request to the respective UI Automators • The UI Automator then processes the request and executes the command on a simulator/emulator/real device. • The results of the test session are then communicated to the server and then back to the client system in terms of logs, using the mobile JSON Wire Protocol.
  • 13. SYSTEM REQUIREMENTS ANDROID • Java (version 7 or later). • Android SDK API (version 17 or later). • Android Virtual Device (AVD) or real device. • Node and npm IOS • Xcode (greater than or equal to 4.6.3; 5.1 is recommended) with the command-line build tool • Mac OS X 10.7 or later • Java version 7 or later • Homebrew • Node and npm
  • 14. STEPS TO SETUP 1.InstallANDROID SDK. 2.Install JDK (Java Development Kit) 3.Install Eclipse or IntelliJ 4.Install Appium and Appium Desktop Client 5.Install Appium Doctor in Terminal 6.Install Selenium Server JAR 7.Appium Client Library (in Java, Ruby, Python, PHP, JavaScript, and C#) 8.Add These Files to Eclipse Project (or as Dependencies)
  • 16. GETTING STARTED Step 01 Start Appium Server From Terminal or By Appium Desktop app
  • 17. GETTING STARTED Start Appium Server From Terminal or By Appium Desktop app The Appium Server can be initiated by Appium app running on Port 4723 and local host 0000.
  • 18. GETTING STARTED Step 02 Start Eclipse or Any Other IDE Create New Project Add Dependencies in The Project Language Client Library (i.e Java) Selenium Libraries (To use WebDriver)
  • 19. GETTING STARTED Add Desired Capabilities In Java Code for Selenium Server deviceName = Your Device NAME udid = Device UDID platformName = Android or IOS platformVersion = System Version appPackage = Name of Package You are going to Target appActivity = Name of Unique App you are Going to Test Step 03
  • 20. GETTING STARTED Find Object’s ID in App By UIAutomator or UIAutomatorViewer Use these ID values of respective elements in Code to test your app accordingly Step 04 You are Good To Test
  • 22. CONS OF APPIUM Cons ‣ Appium does not support testing of Android Version lower than 4.2. ‣ Limited support for hybrid app testing. e.g.: not possible to test the switching action of application from the web app to native and vice-versa. ‣ Sometimes it is hard to Setup on System. ‣ No support to run Appium Inspector on Microsoft Windows.
  • 23. REFERENCES AND LINKS References ‣ ‣ ‣ http://appium.io/docs/en/about-appium/intro/ http://appium.io/docs/en/about-appium/getting-started/ index.html https://www.toolsqa.com/mobile-automation/appium/ appium-tutorial/