SlideShare a Scribd company logo
1 of 15
Automation using
Appium
Presented By
Adarsh A Livares Technologies Pvt Ltd
Tech & Socio-Cultural Group
What is Mobile Automation?
 Mobile Automated testing provides a mechanism to consistently
repeat a test procedure and verify application results.
 Testing mobile applications is different and more complex than
testing traditional desktop and web app applications
 Mobile applications need to be tested on a variety of software
platforms and versions, on diverse hardware and form factors.
 Moreover, the rapid pace of mobile OS updates, the frequent
introduction of new devices and the customer expectation of
quick upgrades require additional test cycles.
Appium
 Appium is an open source automation tool for running test
scripts in the Mobile Applications.
 It can be used to automate Native applications, Mobile-Web
applications and Hybrid applications.
 Support mobile applications on Android and iOS.
 It allows users to write automated tests using a wide range of
programming languages, including Java, Python, Ruby, and
JavaScript.
System Requirements for using Appium
1. macOS, Linux or Windows operating system.
2. Java Development Kit (JDK) or Java SE version 8 or later.
3. Node.js 14+.
4. A Virtual or Real iOS/Android device.
5. Android Studio or Xcode.
6. Appium or Appium Desktop.
7. Appium Inspector.
8. Integrated development environment (IDE).
NOTE: An active paid Apple developer account is needed to run Appium on a real iOS device.
Install and Set-up Appium
1. Install Node.js and install Appium by running the following command in the terminal or command prompt
2.Install Appium client libraries: Depending on the programming language you plan to use for writing your Appium tests, you may
need to install the corresponding client libraries. For example, if you plan to use Java, you will need to install the Java client
library. You can find the client libraries for various programming languages on the Appium website.
3.Install Appium Desktop: Appium Desktop is a GUI application that provides a user-friendly interface for working with Appium.
4.Set up Android and iOS SDKs: In order to run Appium tests on Android and iOS devices, you will need to install the Android SDK
and the iOS SDK.
5.Set up Device: To run Appium test, a Virtual or Real device need to be connected to the system. Also make sure to Enable the
USB Debugging on the connected Real Android Device
“npm install -g Appium”
Appium Architecture
Client-Server Architecture
Appium at its heart is a server written in node.js. The server works using a client-
server architecture. According to the client-server architecture, the client connects
to the server to avail any service hosted on the server. Any communication
between the client and server is in the form of response and requests.
In Appium the client sends requests regarding automation to the Appium server.
The server processes the request in its own unique way, which we will get to in a
second, and then responds with the test result or log files.
Appium Server
Appium Server is a key component of Appium, which is responsible for managing the
communication between the test scripts and the mobile devices or emulators on which the
tests are run.
The Appium Server can be run locally on the same machine as the test scripts, or it can be
run remotely on a different machine
The Appium Server also provides a range of configuration options that can be used to
customize the behavior of the server and the way it interacts with the mobile device or
emulator. These configuration options are specified using Desired Capabilities, which are
passed to the server when it is started.
Desired Capabilities
Desired Capabilities in Appium are a set of key-value pairs that are used to provide
configuration information to the Appium server. These capabilities are used to specify the
type of mobile device, the platform version, the app package name, the app activity name,
and other settings that are required to automate a mobile app.
Here are some of the most commonly used Desired Capabilities in Appium:
• platformName: Specifies the name of the platform (iOS or Android) to be used for testing.
• platformVersion: Specifies the version of the platform to be used for testing.
• deviceName: Specifies the name of the device on which the app will be tested.
• app: Specifies the path or URL of the app file to be tested.
• appPackage: Specifies the package name of the app to be tested.
• appActivity: Specifies the activity name of the app to be tested.
Appium Inspector
Appium Inspector is a graphical user interface tool provided by Appium that helps in
inspecting and analyzing the user interface of mobile apps. It is a part of Appium Desktop,
which is a standalone app that provides a user-friendly interface for working with Appium.
Appium Inspector allows developers and testers to view and interact with the elements of a
mobile app, such as buttons, text fields, and menus, and to get detailed information about
these elements, such as their location, type, and properties.
Pros Of Using Appium
 Since Appium is an open-source automation testing tool, it can be used free of charge.
 Appium supports both native and hybrid apps.
 Appium supports both iOS and Android.
 Appium runs on Real devices and Virtual devices.
 Appium allows test scripts written in Java, Python, Ruby, C#, JavaScript, and PHP or any
language that supports Selenium.
 Appium allows multiple devices testing with different OS simultaneously.
 Appium desktop and Inspector GUI is easy to use.
Cons Of Using Appium
 Configuring Appium to test on real devices is challenging.
 Testing on real iOS devices requires an active paid Apple developer account.
 Appium test execution is slow.
 Locating some apps objects is difficult.
 Appium cannot switch between testing mobile app features and web app features in the
same test script.
Demo
Useful links
 Official Appium Documentation
 Official Appium Git Hub
 Appium Inspector
OUR
CONTACT DETAILS
Livares Technologies Pvt Ltd
5th Floor, Yamuna Building
Technopark Phase III Campus
Trivandrum, Kerala, India-695581
Livares Technologies Pvt Ltd
Tech&Socio-Cultural Group
Our helpline is always open to receive any inquiry
or feedback.Please feel free to contact us
www.livares.com
contact@livares.com
@livaresofficial
www.facebook.com/livaresofficial
+91-471-2710003 | +91-471-
2710004
THANK YOU

More Related Content

What's hot

Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appiumPratik Patel
 
Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - AppiumMaria Machlowska
 
Appium: Automation for Mobile Apps
Appium: Automation for Mobile AppsAppium: Automation for Mobile Apps
Appium: Automation for Mobile AppsSauce Labs
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with AppiumManoj Kumar Kumar
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsQASymphony
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and SeleniumKarapet Sarkisyan
 
Ppt of soap ui
Ppt of soap uiPpt of soap ui
Ppt of soap uipkslide28
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated API TestingSauce Labs
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonTEST Huddle
 
Test automation framework
Test automation frameworkTest automation framework
Test automation frameworkQACampus
 
Reasons To Automate API Testing Process
Reasons To Automate API Testing ProcessReasons To Automate API Testing Process
Reasons To Automate API Testing ProcessQASource
 
Appium basics
Appium basicsAppium basics
Appium basicsSyam Sasi
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automationDavid Tzemach
 

What's hot (20)

Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
 
Mobile Test Automation - Appium
Mobile Test Automation - AppiumMobile Test Automation - Appium
Mobile Test Automation - Appium
 
API TESTING
API TESTINGAPI TESTING
API TESTING
 
Appium: Automation for Mobile Apps
Appium: Automation for Mobile AppsAppium: Automation for Mobile Apps
Appium: Automation for Mobile Apps
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with Appium
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
 
Api Testing
Api TestingApi Testing
Api Testing
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Ppt of soap ui
Ppt of soap uiPpt of soap ui
Ppt of soap ui
 
Appium
AppiumAppium
Appium
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated API Testing
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
 
Reasons To Automate API Testing Process
Reasons To Automate API Testing ProcessReasons To Automate API Testing Process
Reasons To Automate API Testing Process
 
Appium basics
Appium basicsAppium basics
Appium basics
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Rest assured
Rest assuredRest assured
Rest assured
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 

Similar to Automation 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 appiumheadspin2
 
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
 
Appium Testing Guide For Mobile App Testing
Appium Testing  Guide For Mobile App TestingAppium Testing  Guide For Mobile App Testing
Appium Testing Guide For Mobile App TestingTestgrid.io
 
Appium: the Superhero of Mobile testing
Appium: the Superhero of Mobile testingAppium: the Superhero of Mobile testing
Appium: the Superhero of Mobile testingInfotek Solutions
 
appiumpresent-211128171811.pptx projet de presentation
appiumpresent-211128171811.pptx projet de presentationappiumpresent-211128171811.pptx projet de presentation
appiumpresent-211128171811.pptx projet de presentationEnochBidima3
 
Decoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdfDecoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdfkalichargn70th171
 
Top 15 Appium Interview Questions and Answers in 2023.pdf
Top 15 Appium Interview Questions and Answers in 2023.pdfTop 15 Appium Interview Questions and Answers in 2023.pdf
Top 15 Appium Interview Questions and Answers in 2023.pdfAnanthReddy38
 
Mobile automation using Appium
Mobile automation using AppiumMobile automation using Appium
Mobile automation using AppiumSaroj Singh
 
Mobile automation testing with selenium and appium
Mobile automation testing with selenium and appiumMobile automation testing with selenium and appium
Mobile automation testing with selenium and appiumBugRaptors
 
APPIUM Training in Delhi
APPIUM Training in DelhiAPPIUM Training in Delhi
APPIUM Training in DelhiAPTRON
 
Appium understanding document
Appium understanding documentAppium understanding document
Appium understanding documentAkshay Pillay
 
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
 
100 effective software testing tools that boost your Testing
100 effective software testing tools that boost your Testing100 effective software testing tools that boost your Testing
100 effective software testing tools that boost your TestingBugRaptors
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAnand722237
 
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
 

Similar to Automation using Appium (20)

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
 
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
 
Appium.pptx
Appium.pptxAppium.pptx
Appium.pptx
 
Appium Testing Guide For Mobile App Testing
Appium Testing  Guide For Mobile App TestingAppium Testing  Guide For Mobile App Testing
Appium Testing Guide For Mobile App Testing
 
Next level of Appium
Next level of AppiumNext level of Appium
Next level of Appium
 
Appium: the Superhero of Mobile testing
Appium: the Superhero of Mobile testingAppium: the Superhero of Mobile testing
Appium: the Superhero of Mobile testing
 
appiumpresent-211128171811.pptx projet de presentation
appiumpresent-211128171811.pptx projet de presentationappiumpresent-211128171811.pptx projet de presentation
appiumpresent-211128171811.pptx projet de presentation
 
Appium solution
Appium solutionAppium solution
Appium solution
 
Appium Testing.pdf
Appium Testing.pdfAppium Testing.pdf
Appium Testing.pdf
 
Decoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdfDecoding Appium No-Code Test Automation With HeadSpin.pdf
Decoding Appium No-Code Test Automation With HeadSpin.pdf
 
Top 15 Appium Interview Questions and Answers in 2023.pdf
Top 15 Appium Interview Questions and Answers in 2023.pdfTop 15 Appium Interview Questions and Answers in 2023.pdf
Top 15 Appium Interview Questions and Answers in 2023.pdf
 
Mobile automation using Appium
Mobile automation using AppiumMobile automation using Appium
Mobile automation using Appium
 
Mobility testing
Mobility testingMobility testing
Mobility testing
 
Mobile automation testing with selenium and appium
Mobile automation testing with selenium and appiumMobile automation testing with selenium and appium
Mobile automation testing with selenium and appium
 
APPIUM Training in Delhi
APPIUM Training in DelhiAPPIUM Training in Delhi
APPIUM Training in Delhi
 
Appium understanding document
Appium understanding documentAppium understanding document
Appium understanding document
 
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)
 
100 effective software testing tools that boost your Testing
100 effective software testing tools that boost your Testing100 effective software testing tools that boost your Testing
100 effective software testing tools that boost your Testing
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.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
 

More from Livares Technologies Pvt Ltd

Smart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - TroncartSmart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - TroncartLivares Technologies Pvt Ltd
 

More from Livares Technologies Pvt Ltd (20)

Web Performance Optimization
Web Performance OptimizationWeb Performance Optimization
Web Performance Optimization
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine Learning
 
Software Architecture Design
Software Architecture DesignSoftware Architecture Design
Software Architecture Design
 
Bubble(No code Tool)
Bubble(No code Tool)Bubble(No code Tool)
Bubble(No code Tool)
 
Unsupervised Machine Learning
Unsupervised Machine LearningUnsupervised Machine Learning
Unsupervised Machine Learning
 
Developing Secure Apps
Developing Secure AppsDeveloping Secure Apps
Developing Secure Apps
 
Micro-Frontend Architecture
Micro-Frontend ArchitectureMicro-Frontend Architecture
Micro-Frontend Architecture
 
Apache J meter
Apache J meterApache J meter
Apache J meter
 
Introduction to Angular JS
Introduction to Angular JSIntroduction to Angular JS
Introduction to Angular JS
 
An Insight into Quantum Computing
An Insight into Quantum ComputingAn Insight into Quantum Computing
An Insight into Quantum Computing
 
Just in Time (JIT)
Just in Time (JIT)Just in Time (JIT)
Just in Time (JIT)
 
Introduction to Bitcoin
Introduction to Bitcoin Introduction to Bitcoin
Introduction to Bitcoin
 
Data Mining Technniques
Data Mining TechnniquesData Mining Technniques
Data Mining Technniques
 
Facade Design Pattern
Facade Design PatternFacade Design Pattern
Facade Design Pattern
 
Manual Vs Automation Testing
Manual Vs Automation TestingManual Vs Automation Testing
Manual Vs Automation Testing
 
Screenless display
Screenless displayScreenless display
Screenless display
 
Database Overview
Database OverviewDatabase Overview
Database Overview
 
An Introduction to Machine Learning
An Introduction to Machine LearningAn Introduction to Machine Learning
An Introduction to Machine Learning
 
An Introduction to Face Detection
An Introduction to Face DetectionAn Introduction to Face Detection
An Introduction to Face Detection
 
Smart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - TroncartSmart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - Troncart
 

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Automation using Appium

  • 1. Automation using Appium Presented By Adarsh A Livares Technologies Pvt Ltd Tech & Socio-Cultural Group
  • 2. What is Mobile Automation?  Mobile Automated testing provides a mechanism to consistently repeat a test procedure and verify application results.  Testing mobile applications is different and more complex than testing traditional desktop and web app applications  Mobile applications need to be tested on a variety of software platforms and versions, on diverse hardware and form factors.  Moreover, the rapid pace of mobile OS updates, the frequent introduction of new devices and the customer expectation of quick upgrades require additional test cycles.
  • 3. Appium  Appium is an open source automation tool for running test scripts in the Mobile Applications.  It can be used to automate Native applications, Mobile-Web applications and Hybrid applications.  Support mobile applications on Android and iOS.  It allows users to write automated tests using a wide range of programming languages, including Java, Python, Ruby, and JavaScript.
  • 4. System Requirements for using Appium 1. macOS, Linux or Windows operating system. 2. Java Development Kit (JDK) or Java SE version 8 or later. 3. Node.js 14+. 4. A Virtual or Real iOS/Android device. 5. Android Studio or Xcode. 6. Appium or Appium Desktop. 7. Appium Inspector. 8. Integrated development environment (IDE). NOTE: An active paid Apple developer account is needed to run Appium on a real iOS device.
  • 5. Install and Set-up Appium 1. Install Node.js and install Appium by running the following command in the terminal or command prompt 2.Install Appium client libraries: Depending on the programming language you plan to use for writing your Appium tests, you may need to install the corresponding client libraries. For example, if you plan to use Java, you will need to install the Java client library. You can find the client libraries for various programming languages on the Appium website. 3.Install Appium Desktop: Appium Desktop is a GUI application that provides a user-friendly interface for working with Appium. 4.Set up Android and iOS SDKs: In order to run Appium tests on Android and iOS devices, you will need to install the Android SDK and the iOS SDK. 5.Set up Device: To run Appium test, a Virtual or Real device need to be connected to the system. Also make sure to Enable the USB Debugging on the connected Real Android Device “npm install -g Appium”
  • 7. Client-Server Architecture Appium at its heart is a server written in node.js. The server works using a client- server architecture. According to the client-server architecture, the client connects to the server to avail any service hosted on the server. Any communication between the client and server is in the form of response and requests. In Appium the client sends requests regarding automation to the Appium server. The server processes the request in its own unique way, which we will get to in a second, and then responds with the test result or log files.
  • 8. Appium Server Appium Server is a key component of Appium, which is responsible for managing the communication between the test scripts and the mobile devices or emulators on which the tests are run. The Appium Server can be run locally on the same machine as the test scripts, or it can be run remotely on a different machine The Appium Server also provides a range of configuration options that can be used to customize the behavior of the server and the way it interacts with the mobile device or emulator. These configuration options are specified using Desired Capabilities, which are passed to the server when it is started.
  • 9. Desired Capabilities Desired Capabilities in Appium are a set of key-value pairs that are used to provide configuration information to the Appium server. These capabilities are used to specify the type of mobile device, the platform version, the app package name, the app activity name, and other settings that are required to automate a mobile app. Here are some of the most commonly used Desired Capabilities in Appium: • platformName: Specifies the name of the platform (iOS or Android) to be used for testing. • platformVersion: Specifies the version of the platform to be used for testing. • deviceName: Specifies the name of the device on which the app will be tested. • app: Specifies the path or URL of the app file to be tested. • appPackage: Specifies the package name of the app to be tested. • appActivity: Specifies the activity name of the app to be tested.
  • 10. Appium Inspector Appium Inspector is a graphical user interface tool provided by Appium that helps in inspecting and analyzing the user interface of mobile apps. It is a part of Appium Desktop, which is a standalone app that provides a user-friendly interface for working with Appium. Appium Inspector allows developers and testers to view and interact with the elements of a mobile app, such as buttons, text fields, and menus, and to get detailed information about these elements, such as their location, type, and properties.
  • 11. Pros Of Using Appium  Since Appium is an open-source automation testing tool, it can be used free of charge.  Appium supports both native and hybrid apps.  Appium supports both iOS and Android.  Appium runs on Real devices and Virtual devices.  Appium allows test scripts written in Java, Python, Ruby, C#, JavaScript, and PHP or any language that supports Selenium.  Appium allows multiple devices testing with different OS simultaneously.  Appium desktop and Inspector GUI is easy to use.
  • 12. Cons Of Using Appium  Configuring Appium to test on real devices is challenging.  Testing on real iOS devices requires an active paid Apple developer account.  Appium test execution is slow.  Locating some apps objects is difficult.  Appium cannot switch between testing mobile app features and web app features in the same test script.
  • 13. Demo
  • 14. Useful links  Official Appium Documentation  Official Appium Git Hub  Appium Inspector
  • 15. OUR CONTACT DETAILS Livares Technologies Pvt Ltd 5th Floor, Yamuna Building Technopark Phase III Campus Trivandrum, Kerala, India-695581 Livares Technologies Pvt Ltd Tech&Socio-Cultural Group Our helpline is always open to receive any inquiry or feedback.Please feel free to contact us www.livares.com contact@livares.com @livaresofficial www.facebook.com/livaresofficial +91-471-2710003 | +91-471- 2710004 THANK YOU