Mobile TestingRavindran AntonysamyQA Head,Nimbuzz Internet India@senthazalravi
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
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
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
Android !!!!Android accounts for a total of around 99million units sold, captured 64% of thesmartphone market for the quarter, comparedto 43.4% a year ago. Samsung’s Galaxy countsfor a total of half of all Android sales, reaching45.6 million units sold while Apple’s iPhone saw atotal growth selling nearly 29 million units. BothSymbian and RIM saw a big drops hoveringbetween 5% and 6% market share, whileSamsung’s Bada and Microsoft’s saw anaverage….
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
Android ToolsMonkeyadb 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 / iOStestingTelerik for iOS
List of Mobile Platforms / OSJAVAMTKMstarBadaAndroid (1.6, 2.1, 2.2, 2.3, 3.1, 4.1)iOSBBWPPalm / Pocket PC / Web OS / Symbian / Lenaro/ LIMO/ Meego (Deprecated)
Standards / Organizations3GPP3GPP3GCFPTCRBFCSGSMAITU-TIEEEBluetooth SIGIRDA AssociationNFC Forum
Development SDK’sAndroid:http://developer.android.com/index.htmliOS:https://developer.apple.com/devcenter/ios/index.actionBB:https://developer.blackberry.com/java/Windows Phone:http://www.microsoft.com/en-us/download/details.aspx?id=27570JAVA:http://www.oracle.com/technetwork/java/javame/downloads/sdk30-jsp-139759.html
Browser testing toolsiPhoney (http://www.marketcircle.com/iphoney/ An excellent free iPhone tester, iPhoney isn’t exactly anemulator, but allows developers to create 320x480px websites for use onthe iPhone. It allows you to test images and code in a pixel-perfect Apple-Safari-powered environment, with all the normal features including Portraitand 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 seehow mobile-device-friendly your website is. The tests are checked againstthe 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 whenrendered on the iPad. It’s recommended that you use a WebKit-basedbrowser such as Apple Safari or Google Chrome to have as accurate asimulation as possible — or at the very least, a CSS3-capable browser thatsupports transformation properties (like Opera) because it uses them torender the page in Portrait mode.
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 anemulator, but allows developers to create 320x480px websites for useon the iPhone. It allows you to test images and code in a pixel-perfectApple-Safari-powered environment, with all the normal featuresincluding Portrait and Landscape modes, fullscreen, zoom andplugins. The mobile user agent of the phones needs to be searchedand 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 Centralemulates the operation of mobile devices on your desktop allowingyou 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 aweb page address and then makes the page mobile-web-friendly bytrimming the content down to its bare essentials. This is an excellenttool for seeing where you can make performance optimizations onyour site.
Referenceshttp://code.google.com/p/androidscreencast/ (AndroidScreencast)MobileQAZone.comMobiletesttech.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.htmlhttp://mobile.smashingmagazine.com/2012/09/24/establishing-an-open-device-lab/
ToolsHTML5 in Mobile Devices: http://en.wikipedia.org/wiki/HTML5_in_mobile_devicesCSS Mobile Profile 2 : http://www.w3.org/TR/css-mobile/Mobile Usability :http://www.bughuntress.com/files1/Mobile_Usability_Testing_Report.pdfFully Compatible mobile website : http://www.taptu.comTo Test HTML5 : http://html5test.com/Test Canvas Support : http://www.quirksmode.org/m/tests/canvas.htmlJQuery Touch test page : http://www.jqtouch.com/preview/demos/main/#homeSencha 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