SlideShare a Scribd company logo
Mobile test automation
inSimple steps
Kushan Amarasiri
How we start
from scratch..
 InstallAndroid Studio
 https://developer.android.com/studio
 Set environment paths to tools and platform tools folder.
 Plug your mobile device to your machine after enabling USB
debugging in your android device.
 Next run adb devices command to see and identify the name of
your android device.
Installing the
Appium server
 Install NodeJS….
 https://nodejs.org/dist/v10.15.1/node-v10.15.1-x64.msi
 Install appium in NodeJS
 npm install –g appium@1.8.0
 Run this command in command prompt where stable version 1.8.0
will be installed in your machine.
 After installation run appium –a 127.0.0.1 in a separate command
window which should be invoked as Run AsAdministrator.
Next lets
install the
sample
application in
your device…
 Download the eribank apk to your android device.
 http://code.google.com/p/eribank/downloads/list
 Go to your eclipse IDE and have maven integration plug-in &Test
NG installed.
 Next create a new maven simple project in eclipse.
 In the pom.xml file add your Selenium dependency.
 https://mvnrepository.com/artifact/org.seleniumhq.selenium/seleni
um-java/3.141.5
Lets move to
the next steps
ofAppium test
automation…
 Selenium dependency
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.5</version>
</dependency>
 Carryout a maven clean and install to install all the Selenium
– Java libraries into your machine.
 Finally lets add the simple Appium code and run an
automation script…
Lets run the
appium
automation
code…
 Create a package calledTestBankPkg and a class called
BankAppTest.java
 Next add the code given in the git hub URL
 https://github.com/lkkushan101/Java_Appium_Example/blob/maste
r/src/main/java/TestBankPkg/BankAppTest.java
 Please do remember to change the desired capabilities according to
your android device.
 Run the script via Run As ->Test NG…

More Related Content

PPTX
ODP
Appium troubleshooting
PDF
Appium@Work at PAYBACK
PPTX
Appium on mac platform
PPTX
React native on windows
PPTX
PhoneGap Day 2016 USA
PPTX
Xamarin Live Player Setup
PPTX
Appium overview
Appium troubleshooting
Appium@Work at PAYBACK
Appium on mac platform
React native on windows
PhoneGap Day 2016 USA
Xamarin Live Player Setup
Appium overview

What's hot (20)

PDF
ApppiumDoc_version2015
PPT
Webenabled
PDF
Android UI Testing with Appium
PDF
Appium & Jenkins
DOCX
Set up vs code for salesforce
PPT
Eclipse Spykit Project
PDF
Water usage-visualization-tutorial
PDF
Vodafone Mobile Widgets Workshop
PPTX
Appium solution
PDF
Game now
PDF
Mobile Test Automation - Appium
PPTX
Automation With Appium
PDF
React Native Android. It's easy.
PPTX
Ng2 cli
PPTX
Getting started with coding for Jolla Sailfish OS. 22 Feb 2014, Tampere, Finland
PDF
Mobile Quality Night Vienna 2015 - Testobject Appium in der Cloud
PDF
Elixir Deployment Tools
PDF
Automated UI Testing Frameworks
PPTX
How To Install Sonar Qube Plugin In Anypoint Studio
PPTX
Manymo Tool Review
ApppiumDoc_version2015
Webenabled
Android UI Testing with Appium
Appium & Jenkins
Set up vs code for salesforce
Eclipse Spykit Project
Water usage-visualization-tutorial
Vodafone Mobile Widgets Workshop
Appium solution
Game now
Mobile Test Automation - Appium
Automation With Appium
React Native Android. It's easy.
Ng2 cli
Getting started with coding for Jolla Sailfish OS. 22 Feb 2014, Tampere, Finland
Mobile Quality Night Vienna 2015 - Testobject Appium in der Cloud
Elixir Deployment Tools
Automated UI Testing Frameworks
How To Install Sonar Qube Plugin In Anypoint Studio
Manymo Tool Review
Ad

Similar to Mobile test automation in simple steps (20)

PDF
Appium- part 1
DOCX
Android wear notes
DOCX
Android wear notes
PDF
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
PDF
Appium_set_up
PPTX
PPTX
Appium Mobile Testing - Nakov at js.talks() Conference - Nov 2021
PDF
Appium understanding document
PPTX
How to configure Appium with android IDE & eclipse
PPT
PPTX
Introduction of phonegap installation and configuration of Phonegap with An...
PDF
Final NEWS.pdf
PDF
Final NewsApp.pdf
PPTX
Automation testing on ios platform using appium
PDF
PPT
Android Studio Software Installation steps in windows.
PDF
Android tutorial1
PPTX
Mobile automation [Using Appium Server]
PDF
Browser_Stack_Intro
PDF
Run your Appium tests using Docker Android - AppiumConf 2019
Appium- part 1
Android wear notes
Android wear notes
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
Appium_set_up
Appium Mobile Testing - Nakov at js.talks() Conference - Nov 2021
Appium understanding document
How to configure Appium with android IDE & eclipse
Introduction of phonegap installation and configuration of Phonegap with An...
Final NEWS.pdf
Final NewsApp.pdf
Automation testing on ios platform using appium
Android Studio Software Installation steps in windows.
Android tutorial1
Mobile automation [Using Appium Server]
Browser_Stack_Intro
Run your Appium tests using Docker Android - AppiumConf 2019
Ad

More from Kushan Shalindra Amarasiri - Technical QE Specialist (13)

PPTX
Selenium test automation framework design & development
PPTX
Manipulating web elements with web driver
PPTX
Testing microservices with rest assured
PPTX
End to end test automation with cypress
PPTX
How to be an awesome test automation professional
PPTX
Test automation within a scrum process

Recently uploaded (20)

PDF
Understanding Forklifts - TECH EHS Solution
PPTX
ai tools demonstartion for schools and inter college
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
medical staffing services at VALiNTRY
PDF
top salesforce developer skills in 2025.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Digital Strategies for Manufacturing Companies
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
L1 - Introduction to python Backend.pptx
PDF
System and Network Administraation Chapter 3
PPTX
Transform Your Business with a Software ERP System
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Understanding Forklifts - TECH EHS Solution
ai tools demonstartion for schools and inter college
How to Choose the Right IT Partner for Your Business in Malaysia
2025 Textile ERP Trends: SAP, Odoo & Oracle
medical staffing services at VALiNTRY
top salesforce developer skills in 2025.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Digital Strategies for Manufacturing Companies
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
CHAPTER 2 - PM Management and IT Context
wealthsignaloriginal-com-DS-text-... (1).pdf
Odoo POS Development Services by CandidRoot Solutions
L1 - Introduction to python Backend.pptx
System and Network Administraation Chapter 3
Transform Your Business with a Software ERP System
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
How Creative Agencies Leverage Project Management Software.pdf
Odoo Companies in India – Driving Business Transformation.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises

Mobile test automation in simple steps

  • 1. Mobile test automation inSimple steps Kushan Amarasiri
  • 2. How we start from scratch..  InstallAndroid Studio  https://developer.android.com/studio  Set environment paths to tools and platform tools folder.  Plug your mobile device to your machine after enabling USB debugging in your android device.  Next run adb devices command to see and identify the name of your android device.
  • 3. Installing the Appium server  Install NodeJS….  https://nodejs.org/dist/v10.15.1/node-v10.15.1-x64.msi  Install appium in NodeJS  npm install –g appium@1.8.0  Run this command in command prompt where stable version 1.8.0 will be installed in your machine.  After installation run appium –a 127.0.0.1 in a separate command window which should be invoked as Run AsAdministrator.
  • 4. Next lets install the sample application in your device…  Download the eribank apk to your android device.  http://code.google.com/p/eribank/downloads/list  Go to your eclipse IDE and have maven integration plug-in &Test NG installed.  Next create a new maven simple project in eclipse.  In the pom.xml file add your Selenium dependency.  https://mvnrepository.com/artifact/org.seleniumhq.selenium/seleni um-java/3.141.5
  • 5. Lets move to the next steps ofAppium test automation…  Selenium dependency <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>3.141.5</version> </dependency>  Carryout a maven clean and install to install all the Selenium – Java libraries into your machine.  Finally lets add the simple Appium code and run an automation script…
  • 6. Lets run the appium automation code…  Create a package calledTestBankPkg and a class called BankAppTest.java  Next add the code given in the git hub URL  https://github.com/lkkushan101/Java_Appium_Example/blob/maste r/src/main/java/TestBankPkg/BankAppTest.java  Please do remember to change the desired capabilities according to your android device.  Run the script via Run As ->Test NG…