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.


for ict 99 said...


Gadwin Co Inger said...

Great Article
Angular Development Company

Angular Training in CHennai

Angular Training in Chennai.

Garrick Co Ida said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or learn thru Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. JavaScript Training in Chennai

LindaJasmine said...

Awesome Post. Thanks for Sharing. Kepp updating.
Html5 Training in Chennai
Html5 Courses in Chennai
Html5 Training
Html5 Course
Html5 Training Course
Html5 Training for Beginners
Best Html5 Course
Best Html5 Training

Petter Marry said...

Great Article

Project Centers in Chennai
Final Year Projects for CSE

ajay prakash said...

It was really an interesting blog, Thank you for providing unknown facts.
Aviation Courses in Chennai
Air Hostess Training Institute in Chennai
airport courses in Chennai
airport ground staff training courses in Chennai
medical coding course in Chennai
fashion technology courses in Chennai
Interior design courses in Chennai

Joe said...

Thanks for sharing this wonderful article. Your article is very interesting to read. Looking forward to read ur future post.
Node JS Training in Chennai
Node JS Course in Chennai
Node JS Advanced Training
Node JS Training in Velachery
IELTS coaching in Chennai
IELTS Training in Chennai
Spoken English Classes in Chennai
Best Spoken English Classes in Chennai

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

Post a Comment