enough is not enough

32
Enough is not enough Test Strategy for Mobile Jatin Bhasin @jatin_bhasin

Upload: jatin-bhasin

Post on 30-Oct-2014

403 views

Category:

Technology


1 download

DESCRIPTION

No matter how many devices, platforms or screen-sizes you test your mobile app on, your testing may still not be enough. In this era of ever increasing mobile devices and varied platforms, this is bound to happen unless you have a test plan tailored for the mobile world. The intent of this talk is to brace ourselves for this challenge and envision a test strategy for mobile that covers these widespread avenues.

TRANSCRIPT

Page 1: Enough is not enough

Enough is not enough Test Strategy for Mobile

Jatin Bhasin @jatin_bhasin

Page 2: Enough is not enough

Who am I ?

!   Tester ! Agilist !   Learner !   Traveller ! ThoughtWorker

Page 3: Enough is not enough

What is Test Strategy ?

Page 4: Enough is not enough

Definition

A test strategy is an outline that describes the testing approach of the software development cycle. It is created to inform project managers, testers, and developers about some key issues of the testing process.

Page 5: Enough is not enough

Test Strategy

!   Scope !   Roles and Responsibilities !   Environment !   Testing Tools !   Risks and Mitigation !   Schedule !   Priorities !   and more…

Page 6: Enough is not enough

Why all the buzz about Mobile?

Page 7: Enough is not enough

Did you know?

(Source: Mobile Marketing Association Asia)

World Population ~ 7 Billion

Toothbrushes ~ 4.2 Billion

Cell Phones ~ 5.1 Billion

Page 8: Enough is not enough

Yes, that’s true!

!   Smartphone usage grew by 50% from 2011 to 2012 !   91% of Americans have their mobile device within reach 24x7 !   This year, mobile phones will surpass PCs as the primary means of

accessing the internet !   In 2011, Apple sold 48m mobile devices

V/S 4.9m desktops/laptops. !   Only 20% of businesses have invested in a mobile solution

(Source: various)

Page 9: Enough is not enough

Types of Mobile apps

Native Hybrid Mobile Web

Page 10: Enough is not enough

Big challenges on small devices

!   Environment !   Application !   Users !   Devices !   Network !   Automation

Page 11: Enough is not enough

Environment

!   Frequent OS changes !   Domain Constraints

Page 12: Enough is not enough

Application

!   Native/web/hybrid Apps !   Behavior on different devices !   Tech stack differs for each OS !   Comparison with web counterparts

Page 13: Enough is not enough

Users

!   Intuitive UI !   Accommodating maximum functionality

Page 14: Enough is not enough

Devices

!   Browser limitations !   Touch and non-touch devices !   Memory Constraints !   Battery Drainage !   Keypad lock

Page 15: Enough is not enough

Network

!   Sans network !   Offline support !   Wi-Fi !   Interruptions

Page 16: Enough is not enough

Automation

!   Device OS specific tools !   Testing across platforms !   Who will do it?

Page 17: Enough is not enough

Test thy app

!   Physical Device !   Simulators !   Testing in the ‘Cloud’ !   Crowd Source testing !   Automation

Page 18: Enough is not enough

Physical Devices

!   Benefits

!   Challenges

Page 19: Enough is not enough

Simulators

!   Benefits

!   Challenges

Page 20: Enough is not enough

Testing in the ‘cloud’

!   Benefits

!   Challenges

!   Examples !   Device Anywhere !   Perfecto Mobile ! Testdroid

Page 21: Enough is not enough

Crowd Source testing !   Benefits

!   Challenges

!   Examples !   Mob4Hire ! uTest ! Testcovery

Page 22: Enough is not enough

Automation - Android

! Robotium !   Bot-Bot ! Monkeyrunner ! DroidPilot ! AndroidDriver (Selenium/WebDriver)

Page 23: Enough is not enough

Automation - iOS

!   Frank !   KIF (Keep It Functional) ! UIAutomation !   Zucchini

Page 24: Enough is not enough

Automation - cross platform

! Appium !   Calabash ! NativeDriver !   And many more…

Page 25: Enough is not enough

Types of testing

!   Usability !   Performance !   Security

!   Interface Testing !   Services Testing !   Low level resource testing !   Compatibility !   Operational

Page 26: Enough is not enough

Usability Testing

!   Ease of use !   Single handed use !   How intuitive is it

Page 27: Enough is not enough

Performance Testing

!   Need for speed !   Get real !   Business impact !   3rd party integrations !   Performance tuning

Page 28: Enough is not enough

Security Testing

!   Penetration test !   Vulnerability Assessment !   Encryption

Page 29: Enough is not enough

Mobile means faster feedback!

!   User Ratings

Page 30: Enough is not enough

Forget me not !

!   Budget !   Time to market !   Target users

Page 31: Enough is not enough

Recap

Challenges in Mobile Testing

Test thy app

Devices Application Users Environment

Network Automation

Automation Tools

Testing in Cloud

Physical device Simulators

Testing Types

#2

#3

#4

#1

Crowdsourcing

Performance Usability

Security

Cross-platform

iOS Android

Page 32: Enough is not enough

Questions