Learnings from Hybrid App Testing - Jijesh Mohan
-
Upload
thoughtworks -
Category
Technology
-
view
113 -
download
1
Transcript of Learnings from Hybrid App Testing - Jijesh Mohan
![Page 1: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/1.jpg)
Learning from hybrid app testing on iPad
- Jijesh Mohan
![Page 2: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/2.jpg)
Application
! Book reader
! Supports only tablets
! Hybrid application
! Current release for iPad
![Page 3: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/3.jpg)
Technology Stack
! Phonegap (Cordova)
! Html 5 & Css 3
! Objective – C
! Ember.js
![Page 4: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/8.jpg)
Network
! Network activity suspend in locked/minimized mode
! Download bigger files
! Network Visual indicator
![Page 9: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/13.jpg)
Demo
![Page 14: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/15.jpg)
Q & A
![Page 16: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/16.jpg)
Thank You..
![Page 17: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/17.jpg)
![Page 18: Learnings from Hybrid App Testing - Jijesh Mohan](https://reader033.fdocuments.us/reader033/viewer/2022060118/558a1896d8b42a91448b45a4/html5/thumbnails/18.jpg)