SCM Symposium PPT Format Customer loyalty is predi
Testing – responsive web design
1. TESTING RESPONSIVE WEB DESIGN
ONE SITE FOR EVERY SCREEN
Baiju Joseph
Director QE & RE , Yahoo!
baiju@yahoo-inc.com
18 May 2013
2. AGENDA
• Ever growing Mobile
• Why Responsive Web Design
• Responsive Web Design - RWD
• RWD Testing
• RWD Testing Tools
• RWD Testing Challenges
• Tools Demo
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
5. WHY RESPONSIVE WEB DESIGN
“Day by day, the number of devices,
platforms, and browsers that need to work with
your site grows. Responsive web design
represents a fundamental shift in how we’ll build
websites for the decade to come.”
~ Jeffrey Veen
6. WHY RESPONSIVE WEB DESIGN
• accessible on many devices – just need a
browser and internet connection
• one code for many screens
• easy to develop and maintain
• cost effective
• better SEO
7. RESPONSIVE WEB DESIGN - RWD
• a design approach
• for providing optimal viewing experience
• easy reading and navigation
• with a minimum of resizing, panning, and
scrolling
• across a wide range of devices (pc , tablet
, phones…)
Source : Wikipedia
8. RESPONSIVE WEB DESIGN - RWD
• fluid , proportion based grids
• flexible images
• Media queries
• Selectively serving style sheets based on
device
• Server-Side Components (RESS)
9. RWD TESTING
• compare functionality on devices
• rendering
• performance
• real device testing
• Mobile cloud
• automate once – run on multi devices
• testability hooks (?mobile , ?tablet)
10. RWD TESTING TOOLS
•Mobile emulators (chrome)
• Tries to mimic behavior of real device
• Browser based user agent simulators
11. RWD TESTING TOOLS
•Mobile emulators (opera )
• Tries to mimic behavior of real device
• Native application on your desktop
12. RWD TESTING TOOLS
• iOS Simulator
• Closest to working of real device
• Part of Xcode tools with iOS SDK
• Android Emulator
• mimics all of the hardware and software
features of a typical mobile device
• With Android SDK
13. RWD TESTING TOOLS
• performance
• Yslow : analyzes web pages and
suggests ways to improve their
performance
14. RWD TESTING CHALLENGES
• Mobile Testing skill
• Mobile , RWD technology
knowledge
• Too many device combinations
• Lack of real devices
• Testability hooks in architecture
Editor's Notes
The fluid grid concept calls for page element sizing to be in relative units like percentages, rather than absolute units like pixels or points.
Flexible images are also sized in relative units, so as to prevent them from displaying outside their containing element.
Media queries allow the page to use different CSS style rules based on characteristics of the device the site is being displayed on, most commonly the width of the browser.
The DevTools support for device emulation includes native User Agent and dimension overriding. This allows developers to debug mobile browsers on different devices and operating systems via the Overrides menu. - https://developers.google.com/chrome-developer-tools/docs/mobile-emulation
Our Opera Mobile Emulator for Windows, Linux and Mac makes things a whole lot easier.
It’s a small, native application that’s easy to install on your desktop machine and runs exactly the same code as its mobile phone version — that way, you can be assured that what you’re seeing on your test environment is practically identical to the experience your end users will get.