Top Banner
68
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: Strategies for Mobile Web Application Testing
Page 2: Strategies for Mobile Web Application Testing

Strategies to Approach Mobile Web Testing

by Raj Subramanian

Page 3: Strategies for Mobile Web Application Testing

Agenda

• Introduction

• Testing Approaches

• Testing Responsive Websites

• Lessons Learned

• Future of Mobile Web

Page 4: Strategies for Mobile Web Application Testing

Introduction

Page 5: Strategies for Mobile Web Application Testing

My Bio

• Tester at Progressive Insurance (STE)

• 7 years experience in testing

• Actively involved in testing community

• NOSQAA

• NOTICE meetup

• Newsletter

• Testing articles

• Blogging

Page 6: Strategies for Mobile Web Application Testing

Mobile Ecosystem

Page 7: Strategies for Mobile Web Application Testing

Mobile Ecosystem

Page 8: Strategies for Mobile Web Application Testing

Mobile Ecosystem

Page 9: Strategies for Mobile Web Application Testing

The Context

• Complete redesign of mobile website

• 3 releases

• Made the website responsive

• Testing team size - 2 testers

Page 10: Strategies for Mobile Web Application Testing

Device Selection

• Apple

• Android

• Windows

• Blackberry

• Firefox

• Ubuntu

Page 11: Strategies for Mobile Web Application Testing

Device Selection - Strategy

• Step 1 - Usage Statistics

• OS versions

• Rendering engines

• Browsers

• Step 2 - Discuss findings and get feedback

• Step 3 - Select devices to test

Page 12: Strategies for Mobile Web Application Testing
Page 13: Strategies for Mobile Web Application Testing

Testing Approaches

Page 14: Strategies for Mobile Web Application Testing
Page 15: Strategies for Mobile Web Application Testing
Page 16: Strategies for Mobile Web Application Testing
Page 17: Strategies for Mobile Web Application Testing
Page 18: Strategies for Mobile Web Application Testing
Page 19: Strategies for Mobile Web Application Testing
Page 20: Strategies for Mobile Web Application Testing
Page 21: Strategies for Mobile Web Application Testing
Page 22: Strategies for Mobile Web Application Testing
Page 23: Strategies for Mobile Web Application Testing
Page 24: Strategies for Mobile Web Application Testing

Paired Scripted Testing

• Two sets of eyes. Domain/technical knowledge combination

• Both execute same high level test case and discuss results

Page 25: Strategies for Mobile Web Application Testing

Defects

Page 26: Strategies for Mobile Web Application Testing

Defects

Page 27: Strategies for Mobile Web Application Testing
Page 28: Strategies for Mobile Web Application Testing

Paired Exploratory Testing

• 45 - 90 min session

• Charter/Goal

• Noted ideas and scenarios

• Paraphrased/Debriefed

• Discussed observations

• Posted defects

Page 29: Strategies for Mobile Web Application Testing

Defects

Page 30: Strategies for Mobile Web Application Testing

Defects

Page 31: Strategies for Mobile Web Application Testing

Defects

Page 32: Strategies for Mobile Web Application Testing

Defects

Page 33: Strategies for Mobile Web Application Testing

Defects

Page 34: Strategies for Mobile Web Application Testing

Defects

Page 35: Strategies for Mobile Web Application Testing

Defects

Page 36: Strategies for Mobile Web Application Testing
Page 37: Strategies for Mobile Web Application Testing

Mobile Testing - Device

• Wi-Fi / 4G

• Interrupt testing

• Sending text messages

• Calling phone

• Disabling javascript

Page 38: Strategies for Mobile Web Application Testing

Mobile Testing - Web

• Back buttoning

• Hard buttons

• Soft buttons

Page 39: Strategies for Mobile Web Application Testing

Mobile Testing - Web

• Back buttoning

• Hard buttons

• Soft buttons

Page 40: Strategies for Mobile Web Application Testing

Mobile Testing - Web

• Back buttoning

• Hard buttons

• Soft buttons

Page 41: Strategies for Mobile Web Application Testing

Mobile Testing - Web

• URL editing

• New pages

• Old pages

• System error pages

Page 42: Strategies for Mobile Web Application Testing

Mobile Testing - Web

• URL editing

• New pages

• Old pages

• System error pages

Page 43: Strategies for Mobile Web Application Testing

Mobile Testing - Web

• Private browsing (Incognito)

Page 44: Strategies for Mobile Web Application Testing

Mobile Testing - Web

• Checking function calls

Page 45: Strategies for Mobile Web Application Testing

RST Techniques

• Galumphing

• Doing number of clicks around a button, page text etc.

Page 46: Strategies for Mobile Web Application Testing

RST Techniques

• Galumphing

• Doing number of clicks around a button, page text etc.

Page 47: Strategies for Mobile Web Application Testing

RST Techniques

• Blink test

• Used to compare two very similar pages and look for differences

• Testing to see visual patterns

Page 48: Strategies for Mobile Web Application Testing
Page 49: Strategies for Mobile Web Application Testing

Tools

• Browser tools

• Used Chrome/IE (F12) browser tools

• Inspect Javascript, HTML, CSS errors

Page 50: Strategies for Mobile Web Application Testing

Tools

• Browser tools

• Used Chrome/IE (F12) browser tools

• Inspect Javascript, HTML, CSS errors

Page 51: Strategies for Mobile Web Application Testing

Tools

• MITE

• Tool from Keynote

• Emulator - over 2200 mobile devices

• Useful for smoke testing

Page 52: Strategies for Mobile Web Application Testing

Tools

• MITE

• Tool from Keynote

• Emulator - over 2200 mobile devices

• Useful for smoke testing

Page 53: Strategies for Mobile Web Application Testing

Tools

• Fiddler

• Captures HTTP traffic

• “Login button” scenario

Page 54: Strategies for Mobile Web Application Testing

Tools

• Fiddler

• Captures HTTP traffic

• “Login button” scenario

Page 55: Strategies for Mobile Web Application Testing

Tools

• Fiddler

• Captures HTTP traffic

• “Login button” scenario

Page 56: Strategies for Mobile Web Application Testing

Testing Responsive Websites

Page 57: Strategies for Mobile Web Application Testing

What is “Responsive”?

Page 58: Strategies for Mobile Web Application Testing

What is “Responsive”

Page 59: Strategies for Mobile Web Application Testing

Free Tools

• screenfly - http://quirktools.com/screenfly/

• responsivepx - http://responsivepx.com/

• resizeMyBrowser - http://resizemybrowser.com/

• Responsinator - http://www.responsinator.com/

• Matt Kersley’s tool - http://mattkersley.com/responsive/

• Chrome plugin - Window Resizer

Page 60: Strategies for Mobile Web Application Testing

My Tools

• Break point test utility

• Media query test utility

Page 61: Strategies for Mobile Web Application Testing

Lessons Learned

Page 62: Strategies for Mobile Web Application Testing

From Testing

• Proof of concepts

• Pairing

• Prior investigation

• Continuous research

Page 63: Strategies for Mobile Web Application Testing

From Tools

• Sikuli

• Adobe Edge Inspect

• Test Studio

• SeeTest

• Meux

• DeviceAnywhere

• perfecto mobile

For more info - www.rajsubra.com

Page 64: Strategies for Mobile Web Application Testing

Future of Mobile Web

Page 65: Strategies for Mobile Web Application Testing

Future of Mobile Web

• Testing tools still evolving

• New OS, Plaform - Firefox, Fire 3.0, Android L

• Programming languages - Swift, Go

Page 66: Strategies for Mobile Web Application Testing

Future of Mobile Web

• Majority of the websites would be “Responsive”

• Mobile is moving in relation to customers

• Integration of mobile web with watch, cars and other devices

Page 67: Strategies for Mobile Web Application Testing

Summary

• Introduction

• Testing Approaches

• Testing Responsive Websites

• Lessons Learned

• Future of Mobile Web

Page 68: Strategies for Mobile Web Application Testing

Contact Details e-mail: [email protected] website: www.rajsubra.com twitter: @epsilon11