Haroon Q. Raja · Nov 23, 2012 at 07:30 am

Google Releases UI Testing Framework for Android Developers

Any software developer knows the importance of testing their project both during and after development in order to find and debug errors. While the majority of developers focus on testing internal functionality of the app, testing the user interface is also very important. One way to test your app is to manually use it, but that can get tedious with all of the different possible inputs and outputs. This is where testing frameworks come in handy, by automating the process. Google just made UI testing easier by providing a UI testing framework.

Shared with us in a tweet by Android Engineer Romain Guy, this framework is now available in the latest Android 4.2 SDK and requires Android SDK Tools Revision 21 or higher with Android SDK Platform API 16 or higher. It has two components: the uiautomatorviewer GUI tool for scanning and analyzing the GUI components of your app, and the uiautomator Java library that offers the required APIs for automating customized UI tests and an execution engine for running them. Complete details and instructions can be found at the Android Developers Website.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:
Emil Kako · Jan 31, 2015 at 02:59 pm · 1 comment

Do You Prefer Physical or on Screen Buttons?

More and more smartphone manufacturers have been moving towards on-screen buttons, with Google really pushing for it over the physical button alternative. However, there are still a few OEMs (we're looking at you, Samsung) that have preferred to keep things a bit more traditional. Tell us which way you prefer and why.

DISCUSS
Pulser_G2 · Jan 31, 2015 at 02:08 pm · no comments

New AOSP Branch Details Potential Build System Upgrades?

While there are frequent unexplained changes and pushes to Google's AOSP repositories, an interesting-looking new branch has been pushed out recently, called "master-soong". Taking a look at the changes made to the manifest repository (which is used to specify the repositories to be downloaded when building Android), it appears there are some new repositories making an appearance. Of note here are new prebuilt repositories for Go, and Ninja. Go is a programming language, created by Google, which compiles to produce...

XDA NEWS
GermainZ · Jan 30, 2015 at 09:29 pm · 1 comment

Send Links to Any Nearby Device with CaastMe

There already are many solutions on the Google Play store if you want to send a link to one of your devices -- but what if you wanted to do it quickly without having to install any software or logging in to a website on the recipient end? Most apps require you to do either or both, which can be a hassle (or even a security risk) in some cases. Luckily, XDA Forum Member wyemun has developed CaastMe. Inspired by...

XDA NEWS