Top Banner
@eddybruin @smaljaars #yvonne
53

Yvonne and others - Mobile test automation the ING mobile app

Jan 28, 2018

Download

Technology

Eddy Bruin
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Yvonne and others - Mobile test automation the ING mobile app

@eddybruin

@smaljaars

#yvonne

Page 2: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 2

Page 3: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 3

Page 4: Yvonne and others - Mobile test automation the ING mobile app
Page 5: Yvonne and others - Mobile test automation the ING mobile app
Page 6: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 6

Page 7: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 7

Page 8: Yvonne and others - Mobile test automation the ING mobile app

iOS Mobile App @ ING Netherlands

• Developed in-house

• Working on 11th major release

since v1.0 November 2011

• Customized User Interface

• Native application

• Customer feedback is pivotal in

release planning

8

Page 9: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 9

Page 10: Yvonne and others - Mobile test automation the ING mobile app

Challenges in mobile testing

10

Page 11: Yvonne and others - Mobile test automation the ING mobile app

11

Page 12: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 12

Page 13: Yvonne and others - Mobile test automation the ING mobile app

13

Page 14: Yvonne and others - Mobile test automation the ING mobile app

13

Top 6 Android users by February 2013

User analytics based testing

Page 15: Yvonne and others - Mobile test automation the ING mobile app

14

Device Marketshare

Source: http://developer.android.com/about/dashboards/index.html

Usage of Android versions – March 2013

User analytics based testing

Page 16: Yvonne and others - Mobile test automation the ING mobile app

14

Device Marketshare

Source: http://chitika.com/ios-version-distribution /

Usage of iOS versions – March 2013

User analytics based testing

Page 17: Yvonne and others - Mobile test automation the ING mobile app

15

1 Full force manual testing

Page 18: Yvonne and others - Mobile test automation the ING mobile app
Page 19: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 17

2

There is

no silver

bullet (yet)

• 1 Tool

• Test all device, OS combinations

• 100% tested

• Low cost

• Quick results

• Easy maintainable

• Easy to learn

What does management want?

Page 20: Yvonne and others - Mobile test automation the ING mobile app

Mobile Test Automation Eco-system

22 mei 2013 18

Technique

Framework

Infrastructure

Page 21: Yvonne and others - Mobile test automation the ING mobile app

Mobile Test Automation Eco-system

22 mei 2013 52

• Technique to interact with the (web) app

• OCR vs. Code elements

Technique

Page 22: Yvonne and others - Mobile test automation the ING mobile app

Mobile Test Automation Eco-system

22 mei 2013 53

• Maintainability

• ATDD

Framework

Page 23: Yvonne and others - Mobile test automation the ING mobile app

Mobile Test Automation Eco-system

22 mei 2013 54

• Deal with fragmentation

• Test management

• Cloud vs. private

• Automation vs. manual

• Extra test coverage

Infrastructure

Page 24: Yvonne and others - Mobile test automation the ING mobile app

Mobile Test Automation Eco-system

22 mei 2013 18

Technique

Framework

Infrastructure

3

Mobile test automation eco-system =

Technique, Framework and

Infrastructure tools

Page 25: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 19

Technique

Infrastructure Framework

Device coverage

Page 26: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 20

Technique

Infrastructure Framework

Platform coverage

Page 27: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 21

Page 28: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 22

Technique

Framework

Infra.

Page 29: Yvonne and others - Mobile test automation the ING mobile app

Robotium & UIautomator

Page 30: Yvonne and others - Mobile test automation the ING mobile app

Experitest / Silk mobile

Page 31: Yvonne and others - Mobile test automation the ING mobile app

Experitest / Silk mobile

Page 32: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 26

Page 33: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 26

4

Onion structure of UIA code

enables maintainability,

accessability and readability

Page 34: Yvonne and others - Mobile test automation the ING mobile app
Page 35: Yvonne and others - Mobile test automation the ING mobile app

Test case: should make payment

Test steps:

Actions: tap, fill

Elements: amount input field

Test data

1

2 3 4

Amount

Creditor name

Account number

Description

1

2

3

4

fill fields &

send payment

Page 36: Yvonne and others - Mobile test automation the ING mobile app

• Enforced consistency coding

• Test data central location

• Pixel perfect testing

• Exporting logging

22 mei 2013 29

Cooking the onion

Page 37: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 30

Technique

Framework

Infra.

KIF

Frank

Page 38: Yvonne and others - Mobile test automation the ING mobile app
Page 39: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 32

Page 40: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 33

5

Page 41: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 34

Page 42: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 35

OPS PM

DEV QA

Page 43: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 36

6 Yvonne guarantees test

coverage over multiple iOS

devices and OS versions

Page 44: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 37

Page 45: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 38

Technique

Framework

Infra.

KIF

Frank

Page 46: Yvonne and others - Mobile test automation the ING mobile app

39

Use the cloud

Page 47: Yvonne and others - Mobile test automation the ING mobile app

42

Use the crowd

Page 48: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 43

Technique

Framework

Infra.

KIF

Frank

Page 49: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 44

Technique

Framework

Infra.

Page 50: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 45

Picture creativity 7

Page 51: Yvonne and others - Mobile test automation the ING mobile app

Yvonne half a year later….

22 mei 2013 46

Page 52: Yvonne and others - Mobile test automation the ING mobile app

Tweet aways Mobile testing

22 mei 2013 47

1

2

3

4

5

6

7

Exhaustive manual testing is impossible

There is no silver bullet (yet)

Mobile test automation eco-system =

Technique, Framework and Infrastructure tools Structure your UIA code

Continuous integration powerful enabler

Test automation = team effort

Yvonne guarantees test coverage over

multiple iOS devices and OS versions

Page 53: Yvonne and others - Mobile test automation the ING mobile app

22 mei 2013 48

@eddybruin

@smaljaars

#yvonne

http://goo.gl/95Tvp

Yvonne’s tale continues…