mobile testing basics - eötvös loránd...
TRANSCRIPT
12/1/2016
1
1GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Gergely Ágnecz
Software Test Automation Engineer
Mobile
Testing Basics
Péter Földházi Jr.
Lead Software Test Automation Engineer
2GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
1 2 3 4
Table of ContentsTable of Contents
The Mobile World Platform Details Testing Methods Tools & Experiences
12/1/2016
2
3GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
WORLDMOBILETHE
1. The Mobile World
4GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
The Mobile WorldThe Mobile World
2 main key players in the
market:
12/1/2016
3
5GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
DETAILSPLATFORM
2. Platform Details
6GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Platform DetailsPlatform Details
Android iOS
Developer Google Apple
First Release September 23, 2008 July 29, 2007
Target devicesPhone, Tablet, Smart Watch, Smart TV
Phone, Tablet, TV, PortableMusic and Video Player (iPod), Apple Watch
Customization Big scale of palette None
Latest version Android 7.x (Nougat) iOS 10.x
12/1/2016
4
7GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Application TypesApplication Types
3 main types:• Native
• Web
• Hybrid
8GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
METHODSTESTING
3. Testing Methods
12/1/2016
5
9GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Testing MethodsTesting Methods
2 main methods:
• Automated testing
• Manual testing
Manual Testers Automation Testers
REQUIREMENTS RECEIVED
CREATE TEST CASES
SELECT CASES TO AUTOMATE
SORT OUT BY PRIORITY
MERGE COHERENT
CASES
ANALYSIS DESIGN IMPLEMENTATION
Business
Lifecycle of an automation:
10GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Test Automation BasicsTest Automation Basics
What shall not be automated?
Technical difficulties Resource shortage Better manually
- Limitation of access
- Imaging- 3rd party tool- Lack of mocks
- Not enough engineers
- Maintenance cost is too high
- Look & Feel- Layout- Colouring &
schemes
SELECT CASES TO AUTOMATE
12/1/2016
6
11GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Test Automation BasicsTest Automation Basics
Merging Test Cases
MERGE COHERENT
CASES
Log in with a regular user
Failed changing user’s password
Successfully change password
Log in and verify password change functionality
Log out
12GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
EXPERIENCESANDTOOLS
4. Tools And Experiences
12/1/2016
7
13GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Tools for Manual TestingTools for Manual Testing
What can we use:• Emulators
• User Agent
14GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
User AgentUser Agent
A client application between the Client and Server on the HTTP
protocol.
How does it look like:"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36"
12/1/2016
8
15GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Automation ToolsAutomation Tools
Most common tools:• Appium
• Selendroid• Robotium
• Espresso
• Ranorex Studio
• UI Automation
• And many more…
16GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Build & Release ToolsBuild & Release Tools
Most common tools:
• HockeyApp
• TestFlight
Functions:
• Logging
• Releasing
• Version management
• Report generating
12/1/2016
9
17GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
DifficultiesDifficulties
• Different screen sizes
• OS differences
• Design differences
• Vendor Customization
• Emulator for automation and resources
• Native App Layer – Service Layer inconsistency
18GERGELY ÁGNECZ & PÉTER FÖLDHÁZI JR. - CONFIDENTIAL
Gergely Ágnecz
Péter Földházi Jr.
Thank You!
Köszönjük!