Mobile testing

27
Mobile Testing Ravindran Antonysamy QA Head, Nimbuzz Internet India @senthazalravi

Transcript of Mobile testing

Page 1: Mobile testing

Mobile Testing

Ravindran AntonysamyQA Head,Nimbuzz Internet India

@senthazalravi

Page 2: Mobile testing

Overview – Day 1 Introduction to mobile application development /

testing Mobile OS Market Coverage Mobile testing tools available in the market Challenges in Mobile testing industry How to make use of free testing tools (Robotium /

Python) Mobile testing environment setup / SDK setup Using In-build SDK for testing (Ex: Monkeyrunner) API Overview (Android / iOS) Demo in Testing the app using any OS

Page 3: Mobile testing

Overview – Day 2 Testing the app using the Tool identified Demo on Log capturing / Enabling (from Eclipse and

from XCode) Screencapture applications Saving the Logs Monkey and Monkeyrunner GorillaLogic SeeTest TestPlant Python Monkeytalk

Page 4: Mobile testing

Setup Setup adb as a global tool in the PC Setup Xcode 4.0 Setup Eclipse Pulser Setup Android Screencast Setup Python Setup Java Setup Sikuli

Page 5: Mobile testing

Intro Why mobile testing

Page 6: Mobile testing

Mobile Smartphone Coverage

Page 7: Mobile testing

OEM Coverage

Page 8: Mobile testing

Android !!!!Android accounts for a total of around 99 million units sold, captured 64% of the smartphone market for the quarter, compared to 43.4% a year ago. Samsung’s Galaxy counts for a total of half of all Android sales, reaching 45.6 million units sold while Apple’s iPhone saw a total growth selling nearly 29 million units. Both Symbian and RIM saw a big drops hovering between 5% and 6% market share, while Samsung’s Bada and Microsoft’s saw an average….

Page 9: Mobile testing

Market Places Google Play Apple App Store / iTunes OVI Store for Symbian Blackberry App World Windows 7 Marketplace GetJar (MIDP) Appia / Softpedia / Intel App store

Page 10: Mobile testing

Google Play

Page 11: Mobile testing

Windows Phone Marketplace

Page 12: Mobile testing

Itunes Store

Page 13: Mobile testing

Android Tools

Monkeyadb shell monkey -p com.example -v 500MokeyRunnerRun the Python ApplicationAndroidScreencastJava Applet, a rooted phone is required. RobotiumNote Pad example.Monkeytalk (Android / iOS / Flux)Run the monkey talk application and show Android / iOS testingTelerik for iOS

Page 14: Mobile testing

List of Mobile Platforms / OSJAVAMTK MstarBadaAndroid (1.6, 2.1, 2.2, 2.3, 3.1, 4.1)iOSBBWPPalm / Pocket PC / Web OS / Symbian / Lenaro / LIMO/ Meego (Deprecated)

Page 15: Mobile testing

Standards / Organizations3GPP3GPP3GCFPTCRBFCSGSMAITU-TIEEEBluetooth SIGIRDA AssociationNFC Forum

Page 17: Mobile testing

Other tools / Web iPhone configuration Utility Putty Flurry GSMArena.com

Page 18: Mobile testing

What is required to do mobile testing

AppStore User ID / Password (Apple) Windows Phone Dev Account Android Developer account (to see

Crashes)

Page 19: Mobile testing

Development tools Android SDK + NDK Xcode (MAC) BB SDK Visual Studio 201X + Silverlight + .Net

Page 20: Mobile testing

Android Architecture

Page 21: Mobile testing

iOS Architecture

Page 22: Mobile testing

Browser testing toolsiPhoney (http://www.marketcircle.com/iphoney/

An excellent free iPhone tester, iPhoney isn’t exactly an emulator, but allows developers to create 320x480px websites for use on the iPhone. It allows you to test images and code in a pixel-perfect Apple-Safari-powered environment, with all the normal features including Portrait and Landscape modes, fullscreen, zoom and plugins.

W3C mobileOK Checker (http://validator.w3.org/mobile/)This checker is a web-based automated validation tool that checks to see how mobile-device-friendly your website is. The tests are checked against the W3C mobileOK Basic Tests specification developed by W3C.

iPad Peek http://ipadpeek.com/ This handy web-based tool allows you to see how your websites look when rendered on the iPad. It’s recommended that you use a WebKit-based browser such as Apple Safari or Google Chrome to have as accurate a simulation as possible — or at the very least, a CSS3-capable browser that supports transformation properties (like Opera) because it uses them to render the page in Portrait mode.

Page 23: Mobile testing

4. Modify Headers Add-on for Firefox (https://addons.mozilla.org/en-US/firefox/addon/modify-headers/)

An excellent free iPhone tester, iPhoney isn’t exactly an emulator, but allows developers to create 320x480px websites for use on the iPhone. It allows you to test images and code in a pixel-perfect Apple-Safari-powered environment, with all the normal features including Portrait and Landscape modes, fullscreen, zoom and plugins. The mobile user agent of the phones needs to be searched and it can be used for testing.

5. Adobe Device Central CS5 (http://www.adobe.com/products/devicecentral.html)

As part of the latest Adobe Creative Suite, Device Central emulates the operation of mobile devices on your desktop allowing you to test HTML and Flash from the comfort of your desktop.6. Google Mobilizer http://www.google.com/gwt/n

Google Mobilizer is a simple web tool that lets you input a web page address and then makes the page mobile-web-friendly by trimming the content down to its bare essentials. This is an excellent tool for seeing where you can make performance optimizations on your site.

Page 24: Mobile testing

iPhone Configuration Utility

Page 25: Mobile testing

Eclipse logcat

Adb log cat also can be used.

Page 26: Mobile testing

Referenceshttp://code.google.com/p/androidscreencast/ (Android Screencast)MobileQAZone.com Mobiletesttech.blogspot.comhttp://www.gorillalogic.com/testing-tools/monkeytalk/downloadhttp://www.quirksmode.org/m/tests/widthtest.htmlW3 Best Practices for Mobile Web: http://www.w3.org/TR/mobile-bp/ Closure Memory Test Code: http://www.jakearchibald.com/jsperformance/closurememory/ Usable Forms Script: http://www.quirksmode.org/dom/usableforms.html http://mobile.smashingmagazine.com/2012/09/24/establishing-an-open-device-lab/

Page 27: Mobile testing

ToolsHTML5 in Mobile Devices: http://en.wikipedia.org/wiki/HTML5_in_mobile_devices CSS Mobile Profile 2 : http://www.w3.org/TR/css-mobile/ Mobile Usability : http://www.bughuntress.com/files1/Mobile_Usability_Testing_Report.pdf Fully Compatible mobile website : http://www.taptu.com To Test HTML5 : http://html5test.com/ Test Canvas Support : http://www.quirksmode.org/m/tests/canvas.html JQuery Touch test page : http://www.jqtouch.com/preview/demos/main/#home Sencha Touch Events test Page : http://dev.sencha.com/deploy/touch/examples/kitchensink/ Misc tests : http://www.quirksmode.org/m/ http://www.appperfect.com/products/web-testing/iphone-apps-testing.html