Upload
savvycom-savvycom
View
192
Download
1
Embed Size (px)
Citation preview
APPIUMAUTOMATION FOR MOBILE APPS
WHAT IS APPIUM
ON ANDROID
ON iOS
HOW IT WORKS
HOW IT WORKS
APPIUM’S PHILOSOPHY
1 2 3 4
Test the same app you submit to the marketplace.
Write your tests in any framework, using any language
Use a standard automation specification and API.
Build a large and thriving open-source community effort.
o Free.o Cross Platforms.o Strong community support.o Support Java, JavaScript with Node.js,
Python, PHP, Objective-C, Ruby, Perl, and C#.
o No need to include or compile any framework in code.
APPIUM VS ROBOTIUM
o Free.o Android Only.o Average Support from
community.o Use Java only.o Need to add a dependency to
the latest Robotium release to build file.ROBOTIUM
APPIUM
SETTING UP APPIUM
ECLIPSE WITH TestNG plugin
HOW TO APPLY APPIUM IN
REALITY
without
a QUALITY OUTPUT can never be achieved
A HIGH QUALITY of TESTING APPROACH
MANUAL QAAUTOMATION QA
PROJECT
MANAGER
DEVELOPER
HOW TO USE APPIUM IN REALITY
PROJECT
MANAGER
DEVELOPER
HOW TO USE APPIUM IN REALITY
Good software testing background knowledge
Willing to learn Coding.
Ability to overcome beginner’s trouble.
Spend hard time on studying
Willing to learn from an Automation technician.
AUTOMATION QA
MANUAL QA
PROJECT
MANAGER
DEVELOPER
HOW TO USE APPIUM IN REALITY
Regress all issues found by Automation test.
Confirm bug to decide whether it is a bug or it is occurred by scripting skill of Automation QA.
AUTOMATION QA
MANUAL QA
PROJECT
MANAGER
DEVELOPER
HOW TO USE APPIUM IN REALITY
Support in Coding, debugging, Environment setup, etc.
It’s better to list all necessary elements for QA to get information of every screen, flow effortlessly.
AUTOMATION QA
MANUAL QA
PROJECT
MANAGER
DEVELOPER
HOW TO USE APPIUM IN REALITY
Assign the Automation QA resource effectively.
Estimate % test case that can be done by Automation testing.
Work with QA to have a detail test plan right after the project is kick-off.
Assign support team to help.
AUTOMATION QA
MANUAL QA
STUDY RESULTS
C O M M A N D S D E S C R I P T I O N
findElement() Locate an element on screen using its own attributes
click() Perform click action on buttonsclear() Clear the selected textbox or text field.
sendKeys() Send text to a textbox or text field.getText() Get content of a textbox or text field.getSize() Get the x:y dimension of the screen.scrollTo() Perform scroll action to the located element.
multiTouchAction() Perform multi-touch on a screen
touchAction() Perform single touch.
swipe() Perform swipe action with the provided coordinate.
assertEqual() Compare result and expected.
STUDY RESULT DEMO APPIUM INTERFACE GET ELEMENTS
STUDY RESULT DEMOCase Study:• An Jio Health user wants to login to the
app.• The cases that might happens to user:1 No Email and no Password.
2
6
5
4
3
Email is filled but no Password.Email are in incorrect formatPassword is too short.Email and Password are not matched.Email and Password are matched.
APPIUM INTERFACE GET ELEMENTS
STUDY RESULT DEMO APPIUM INTERFACE GET ELEMENTS
GET ELEMENTS ON ANDROID
APPIUM INTERFACE GET ELEMENTS ON iOS GET
CODING
GET ELEMENTS ON ANDROIDAPPIUM INTERFACE GET ELEMENTS ON iOS GET
CODING
GET CODINGGET ELEMENTS ON iOS
CONFIGURATION ANDROID
REPORT - TestNG
GET ELEMENTS ON iOS
CONFIGURATION iOS
REPORT - TestNGGET CODING
GET ELEMENTS ON iOS
CREATE COMMON METHODS
REPORT - TestNGGET CODING
GET ELEMENTS ON iOS
CREATE COMMON METHODS
REPORT - TestNGGET CODING
GET ELEMENTS ON iOS
CREATE COMMON METHODS
REPORT - TestNGGET CODING
GET ELEMENTS ON iOS
FINISH TESTING
REPORT - TestNGGET CODING
GET CODINGGET ELEMENTS ON iOS REPORT - TestNG
o https://drive.google.com/a/savvycom-software.com/folderview?id=0ByhJzHyJg-GkRVVoRFlvamQ3ZXc&usp=sharing
o http://appium.io/tutorial.html?lang=en
o https://meoptn.wordpress.com/
o http://toolsqa.com/mobile-automation/appium/appium-tutorial/
o http://software-testing-tutorials-automation.blogspot.com/2015/10/appium-tutorials.html
REFERENCES
THE END