Home » ADT

Tag: ADT

Useful new Android Tool also for QA – Lint

Since the last Android ADT update 16 there is a new tool included called Lint. Lint is able to scan Android projects for potential new bugs! Here is a short list of possible problems Lint is checking:

  • Missing translations
  • Layout performance problems
  • Unused resources
  • Inconsistent array sizes
  • Accessibility and internationalization problems
  • Icon problems
  • Usability problems
  • Manifest errors

The complete list can be found here: http://tools.android.com/tips/lint-checks

Lint is available as a command line tool and also integrated within Eclipse. I tried the eclipse version and it is very useful! I found several missing translation with it as well as possible performance issues. Check the tool documentation from here to get a really nice overview of the tool: http://tools.android.com/tips/lint

Image source: http://tools.android.com/_/rsrc/1321373354311/tips/lint/lint-window2.png

To integrate Lint into Eclipse you also have to update your ADT plugin within the software update section of Eclipse. If the update is done, you get a little icon next to the Android Virtual Device Manager icon. Just select the project you want to check and press the Lint icon.

I really like Lint from a QA perspective, because you can easily check what is going on in the source code and talk to your developers about the findings to improve the app quality!

Have fun!

Iqnite April 2012: Talk about Android Test Automation with Robotium

Last week my paper for the iqnite conference 2012 (april) in Duesseldorf was accepted. The talk is about mobile test automation using the tool robotium. The presentation will inlcude facts about robotium and a live Demo Session that show the possibilities of the tool. For more information about robotium check http://code.google.com/p/robotium. Or read a recent blogpost of how to setup robotium http://dnlkntt.wordpress.com/2011/10/29/how-to-setup-a-test-environment-for-android-using-robotium/

Here is the program (sorry, only german version available):


See you in Duesseldorf @iqnite conference!

How to setup a test environment for Android using Robotium

This post should show how easy it is, to setup an robotium test environment for Android Apps using the Eclipse IDE. First of all you have to download the latest Android SDK depending to your operating system from http://developer.android.com/sdk/index.html. After downloading the zip file you can unzip it to:

  • /opt for Linux system
  • /Applications for Mac OSx systems
  • c:Programs for Windows systems

AVD – Manager
Start the Android avd manager with the command ./tools/android. Read more