Tuesday, October 20, 2009

Learning How To Test Mobile Device Applications (Part 1) - Palm webOS

I recently visited Palm and our friends there gave us a Palm webOS book - signed by the author Mitch Allen (VP, Software CTO at Palm)!  Very cool.  While reading this book I thought I would use this opportunity to start a HOWTO series on learning to test mobile device apps, and model it after the process we used in our labs - develop apps to learn how to test them. Basically, we took testers through the process of setting up a development environment, compiling a simple app and then installing and testing that app.

We'll start with Palm webOS and then cover the iPhone and Android platforms.  The place to start for any of these platforms is the software development toolkit, or SDK.  And in the case of webOS, as the book points out, the SDK is available for free.  It's called the Mojo SDK and it's available at http://developer.palm.com or can be directly downloaded here.

This SDK provides you development tools, sample code, along with tutorials and reference documents. All great resources for a developer and serves to inform and educate testers as well. We recommend that testers download and install the SDK and then use any of the example apps as their first project. That keeps the fear factor down since no code is written. And since each of the mobile device developers provide an emulator, you don't even need an actual device to learn how to compile and test applications.

Most people start out with something called the "Hello World" application that each SDK invariably offers as the starter application. And webOS is no different. In fact, there's an entire tutorial that describes how to download, compile and install their Hello World app. Once you get the Hello World app to compile and install on your emulator (again, the tutorial explains how to run the emulator), then you can set about to try some tests and learn about the tools that will help you test on actual devices.

On page 30 of the book, there's a paragraph about Testing and Debugging (yes, just a paragraph - but this is a developer book), where the author reinforces the idea of using the emulator during development and testing, and for debugging. Many of the tools described in the book and at Palm's developer website are mainly for developers, but testers should become proficient with any tool that logs information, if for nothing else than to provide a log file with each reported bug. In particular, get to know the palm-log tool. It displays log messages from an application on the emulator or USB-connected webOS device. You can also use palm-log to display the installed applications, which is useful for getting the ID of the application to log.

Here's a checklist I'd recommend for any tester wanting to learn more about webOS apps and how to test them:
  1. Download the Palm webOS SDK
  2. Install it on your favorite OS
  3. Compile the Hello World application and run it in the emulator
  4. Setup palm-log to understand how to capture log files
It's actually very straightforward and best of all, you'll be able to say you've compiled, run and tested a webOS app, as well as collected its log file, without spending any money and without even owning an actual device.

Next we'll look at how to do this for the iPhone.


harish kalyan said...

Nice blog was really feeling good to read it. Thanks for this information.
Spoken English Classes in Chennai
English Speaking Course in Chennai
french classes
pearson vue test center in chennai
IoT Training in Chennai
Xamarin Training in Chennai
Node JS Training in Chennai
content writing training in chennai
Spoken English Classes in OMR
Spoken English Classes in Porur

Galia Co Hagan said...

Great Article. Thank you for sharing! Really an awesome post for every one.

IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

JavaScript Training in Chennai

JavaScript Training in Chennai

sasi said...

I appreciate you for this blog. More informative, thanks for sharing with us.
salesforce training institute in chennai
salesforce developer training in chennai
salesforce training in bangalore
Salesforce Course in Bangalore
best salesforce training in bangalore
salesforce institute in bangalore
salesforce developer training in bangalore
Python Training in Bangalore
Angularjs Training in Bangalore
salesforce training in btm

chandhran said...

Nice informative blog, it shares more interesting information. This blog is useful to me.
AWS Training in Bangalore
AWS Training in BTM
AWS Training in Marathahalli
Best AWS Training in Marathahalli
AWS Course in Chennai
aws course in coimbatore
aws course in hyderabad
AWS Certification in Chennai
DOT NET Training in Bangalore
PHP Training in Bangalore

arshiya said...

Thanks for sharing your innovative blog, it's more interesting.
android app development future scope
what is webdriver in selenium
php programming languages
scope of ethical hacking
aws devops interview questions and answers

Jackie Co Kad said...

Great Article
android based projects

Java Training in Chennai

Project Center in Chennai

Java Training in Chennai

projects for cse

The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing,

and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai

Android Final Year Project Ideas for Computer Science. IEEE Android Projects for CSE 2020 - 2021 - WISEN


jyothipriya said...

Exceptionally pleasant post here and a debt of gratitude is in order for it .I generally like and a super substance of these post. Excellent and extremely cool thought…

DevOps Training in Hyderabad

Arnold DK said...

Nice informative blog, it shares more interesting information. This blog is useful to me. whatsapp mod

Upgrade VLSI Technologies said...

You have done great work by publishing this article here. It is useful and convenient info for us. Keep upgrading our knowledge by share these types of articles.Analog Layout Training Institutes in Bangalore

Post a Comment