learnings from hybrid app testing jijesh mohan

18
Learning from hybrid app testing on iPad - Jijesh Mohan

Upload: vodqa

Post on 29-Nov-2014

1.245 views

Category:

Technology


2 download

DESCRIPTION

Presentation from vodQA Bangalore Get Set Test

TRANSCRIPT

Page 1: Learnings from Hybrid App Testing Jijesh Mohan

Learning from hybrid app testing on iPad

- Jijesh Mohan

Page 2: Learnings from Hybrid App Testing Jijesh Mohan

Application

!   Book reader

!   Supports only tablets

!   Hybrid application

!   Current release for iPad

Page 3: Learnings from Hybrid App Testing Jijesh Mohan

Technology Stack

!   Phonegap (Cordova)

!   Html 5 & Css 3

!   Objective – C

! Ember.js

Page 4: Learnings from Hybrid App Testing Jijesh Mohan

How to test

!   Simulator Vs Devices

!   User Interactions

!   No. of Devices are limited

!   Installation ! Xcode & Developer license ! TestFlight

!   CI integration !   Can install in any no. of devices

!   Easy to send demo build to client !   Supports other platforms

Page 5: Learnings from Hybrid App Testing Jijesh Mohan

Functionality

!   Any difference with Normal application testing?

!   App store review guide lines: !   Apps that crash will be rejected

!   Apps that exhibit bugs will be rejected

!   Apps larger than 50MB in size

!   Apps that are not very useful, unique, are simply web sites bundled as Apps, or do not provide any lasting entertainment value may be rejected

Page 6: Learnings from Hybrid App Testing Jijesh Mohan

User Interface

!   Screen size !   Retina !   iPad Mini

! iOS Versions

!   More real estate than mobiles ( less no. of screens? )

!   Orientations

!   App guidelines !   "10.3: Apps that do not use system provided items, such as buttons and icons, correctly and

as described in the Apple iOS Human Interface Guidelines may be rejected”

!   "10.6: Apple and our customers place a high value on simple, refined, creative, well thought through interfaces. They take more work but are worth it. Apple sets a high bar. If your user interface is complex or less than very good, it may be rejected"

Page 7: Learnings from Hybrid App Testing Jijesh Mohan

Interactions

!   Touch Events !   Single page web application ( Javascript errors)

!   Double tap problem

!   Voice Over

!   Gestures !   Handled by javascript

!   Wrong gestures

!   Conflict with system gestures

!   Need more exploratory testing

Page 8: Learnings from Hybrid App Testing Jijesh Mohan

Network

!   Network activity suspend in locked/minimized mode

!   Download bigger files

!   Network Visual indicator

Page 9: Learnings from Hybrid App Testing Jijesh Mohan

Network

!   Test in different speed !   Limit the bandwidth of the server ( e.g nginx)

!   Network link Conditioner

!   Device – Developer tools

Page 10: Learnings from Hybrid App Testing Jijesh Mohan

Performance & Memory

!   Gatling for Server

!   User experience matters in devices

!   Memory !   Memory limit

!   Profiling app using instruments

Page 11: Learnings from Hybrid App Testing Jijesh Mohan

Automation

!   Selenium / Calabash / Frank

!   BDD Style of testing

!   Minimal support on Hybrid application

!   No iFrame Support !

!   Actual Device testing

!   33 Scenarios automated

Page 12: Learnings from Hybrid App Testing Jijesh Mohan

Mobile Grid

!   Automation testing in multiple devices.

!   Consolidation of reports & history

!   Automatic Discovery of devices

!   Report & Trend Analysis

Page 13: Learnings from Hybrid App Testing Jijesh Mohan

Demo

Page 14: Learnings from Hybrid App Testing Jijesh Mohan

Conclusion

!   Test in actual devices

!   More exploratory testing on user interactions

!   Memory leaks!

!   App Review guide lines & Human interface guidelines

!   Network

!   Automation

Page 15: Learnings from Hybrid App Testing Jijesh Mohan

Q & A

Page 16: Learnings from Hybrid App Testing Jijesh Mohan

Thank You..

Page 17: Learnings from Hybrid App Testing Jijesh Mohan
Page 18: Learnings from Hybrid App Testing Jijesh Mohan