SlideShare uma empresa Scribd logo
1 de 24
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!

Mais conteúdo relacionado

Mais procurados

Automation With Appium
Automation With AppiumAutomation With Appium
Automation With AppiumKnoldus Inc.
 
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 appiumAmbreen Khan
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with AppiumManoj Kumar Kumar
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testingSoftheme
 
Mobile Testing with Appium
Mobile Testing with AppiumMobile Testing with Appium
Mobile Testing with AppiumKnoldus Inc.
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application TestingSWAAM Tech
 
Appium Architecture | How Appium Works | Edureka
Appium Architecture | How Appium Works | EdurekaAppium Architecture | How Appium Works | Edureka
Appium Architecture | How Appium Works | EdurekaEdureka!
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testingvodQA
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...Postman
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Simplilearn
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using SeleniumNaresh Chintalcheru
 
Mobile application testing tutorial
Mobile application testing tutorialMobile application testing tutorial
Mobile application testing tutorialLokesh Agrawal
 
Accelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsAccelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsKnoldus Inc.
 
Getting started with Appium 2.0
Getting started with Appium 2.0Getting started with Appium 2.0
Getting started with Appium 2.0Anand Bagmar
 

Mais procurados (20)

Automation With Appium
Automation With AppiumAutomation With Appium
Automation With Appium
 
Appium overview
Appium overviewAppium overview
Appium overview
 
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
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with Appium
 
Appium
AppiumAppium
Appium
 
Appium solution
Appium solutionAppium solution
Appium solution
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Mobile Testing with Appium
Mobile Testing with AppiumMobile Testing with Appium
Mobile Testing with Appium
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
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
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
 
Browser_Stack_Intro
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_Intro
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Mobile application testing tutorial
Mobile application testing tutorialMobile application testing tutorial
Mobile application testing tutorial
 
Accelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsAccelerate Quality with Postman - Basics
Accelerate Quality with Postman - Basics
 
Getting started with Appium 2.0
Getting started with Appium 2.0Getting started with Appium 2.0
Getting started with Appium 2.0
 
API Testing
API TestingAPI Testing
API Testing
 

Semelhante a Appium Presentation

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
 
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 appiumheadspin2
 
[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 AppiumSrijan Technologies
 
Appium understanding document
Appium understanding documentAppium understanding document
Appium understanding documentAkshay 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 PutermanApplitools
 
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.pdfpCloudy
 
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 DockerMoataz Nabil
 
Appium an introduction
Appium   an introductionAppium   an introduction
Appium an introductionVivek Shringi
 
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 frameworkAndrea 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 AppiumSaroj Singh
 
Selenium Camp 2016 - Kiev, Ukraine
Selenium Camp 2016 -  Kiev, UkraineSelenium Camp 2016 -  Kiev, Ukraine
Selenium Camp 2016 - Kiev, UkraineJustin Ison
 

Semelhante a 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)
 
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
 
Appium an introduction
Appium   an introductionAppium   an introduction
Appium an introduction
 
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
 
Selenium Camp 2016 - Kiev, Ukraine
Selenium Camp 2016 -  Kiev, UkraineSelenium Camp 2016 -  Kiev, Ukraine
Selenium Camp 2016 - Kiev, Ukraine
 

Último

SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfYashikaSharma391629
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...Akihiro Suda
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 

Último (20)

SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 

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/