Savvycom Training - Appium, a mobile app testing tools
-
Upload
savvycom-savvycom -
Category
Technology
-
view
196 -
download
1
Transcript of Savvycom Training - Appium, a mobile app testing tools
![Page 1: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/1.jpg)
APPIUMAUTOMATION FOR MOBILE APPS
![Page 2: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/2.jpg)
WHAT IS APPIUM
![Page 3: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/3.jpg)
![Page 4: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/4.jpg)
![Page 5: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/5.jpg)
ON ANDROID
ON iOS
HOW IT WORKS
HOW IT WORKS
![Page 6: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/6.jpg)
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.
![Page 7: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/7.jpg)
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
![Page 8: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/8.jpg)
SETTING UP APPIUM
ECLIPSE WITH TestNG plugin
![Page 9: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/9.jpg)
HOW TO APPLY APPIUM IN
REALITY
![Page 10: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/10.jpg)
without
a QUALITY OUTPUT can never be achieved
A HIGH QUALITY of TESTING APPROACH
![Page 11: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/11.jpg)
MANUAL QAAUTOMATION QA
PROJECT
MANAGER
DEVELOPER
HOW TO USE APPIUM IN REALITY
![Page 12: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/12.jpg)
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
![Page 13: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/13.jpg)
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
![Page 14: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/14.jpg)
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
![Page 15: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/15.jpg)
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
![Page 16: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/16.jpg)
STUDY RESULTS
![Page 17: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/17.jpg)
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
![Page 18: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/18.jpg)
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
![Page 19: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/19.jpg)
STUDY RESULT DEMO APPIUM INTERFACE GET ELEMENTS
![Page 20: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/20.jpg)
GET ELEMENTS ON ANDROID
APPIUM INTERFACE GET ELEMENTS ON iOS GET
CODING
![Page 21: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/21.jpg)
GET ELEMENTS ON ANDROIDAPPIUM INTERFACE GET ELEMENTS ON iOS GET
CODING
![Page 22: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/22.jpg)
GET CODINGGET ELEMENTS ON iOS
CONFIGURATION ANDROID
REPORT - TestNG
![Page 23: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/23.jpg)
GET ELEMENTS ON iOS
CONFIGURATION iOS
REPORT - TestNGGET CODING
![Page 24: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/24.jpg)
GET ELEMENTS ON iOS
CREATE COMMON METHODS
REPORT - TestNGGET CODING
![Page 25: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/25.jpg)
GET ELEMENTS ON iOS
CREATE COMMON METHODS
REPORT - TestNGGET CODING
![Page 26: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/26.jpg)
GET ELEMENTS ON iOS
CREATE COMMON METHODS
REPORT - TestNGGET CODING
![Page 27: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/27.jpg)
GET ELEMENTS ON iOS
FINISH TESTING
REPORT - TestNGGET CODING
![Page 28: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/28.jpg)
GET CODINGGET ELEMENTS ON iOS REPORT - TestNG
![Page 29: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/29.jpg)
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
![Page 30: Savvycom Training - Appium, a mobile app testing tools](https://reader036.fdocuments.net/reader036/viewer/2022070515/587c17861a28abb5068b48f1/html5/thumbnails/30.jpg)
THE END