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:

Haroon Q. Raja

HQRaja is an editor on XDA-Developers, the largest community for Android users. Entrepreneur | Explorer | Mathematics Teacher | Web Developer | Technology Enthusiast Blogging: Founding Editor HQTech.co | Editor at AddictiveTips | Writer at XDA-Developers Portal Visit my Website | Subscribe on Facebook | Follow on Twitter | Add me on Google+ View HQRaja's posts and articles here.
Mario Tomás Serrafero · Jul 30, 2015 at 02:04 pm · 3 comments

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising developments and it being natively supported on Android M, we can soon expect to see them on smartphones everywhere. If done right, it is a useful feature that allows for quick unlocking and authorization. There are concerns regarding security, but nonetheless the industry seems to be embracing it with open arms. What do you think?

DISCUSS
Aamir Siddiqui · Jul 30, 2015 at 01:20 pm · no comments

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we wouldn't be too wrong. After all, the device marked a definite change in how Samsung perceived the market and its own place in it, as it stood amongst the signs of decline which started with the critical reception of the Galaxy S5. To recap, the Samsung Galaxy S5 was criticized heavily for feeling more like a toy, rather than a premium flagship...

XDA NEWS
Eric Hulse · Jul 30, 2015 at 12:24 pm · 2 comments

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One could choose a case, a “skin”, “armor”, or “wraps.” In fact, the global mobile accessory market is poised to reach a high of $62 Billion in 2017. dBrand is one of the more creative and friendly vinyl skin manufacturers around. In hopes of sharing what they can offer, our friends at dBrand sent us over some skins to have a look at. They offer...

XDA NEWS