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.
Emil Kako · Apr 27, 2015 at 12:26 pm · 2 comments

Do You Use 4:3 or 16:9 in the Camera App?

Every person has their own method of taking the best photos on their devices, but which aspect ratio is best when taking photos on your smartphone camera? Let us know whether you prefer to use 4:3 or 16:9 and why in the comments below.

DISCUSS
Aamir Siddiqui · Apr 27, 2015 at 11:12 am · 3 comments

The Curious Case Of The Flash Sale

What do the horses in the Xiaomi stable, notably the Mi 3, Mi 4, Redmi 1S, Redmi 2 & Redmi Note 4G have in common with the YU Yureka or the Micromax Canvas Spark, or even the Lenovo A6000 and the A7000? For starters, the mentioned phones are amongst the more value centric Android smartphones, aiming to offer a better deal in terms of specifications and an overall package, than their domestic and foreign competitors in the Indian market. What...

XDA NEWS
Jimmy McGee · Apr 27, 2015 at 06:00 am · 3 comments

3D Printable Mobile Microscope? Nexus 7 Discontinued – XDA TV

The Nexus 7 2013 has been discontinued on the Google Store! That and much more news is covered by Jordan when he reviews all the important stories from this weekend. Included in this weekend's news is the announcement of Xposed 3.0 Alpha 3 and be sure to check out the article talking about the 3D printable microscope for mobile devices. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...

XDA NEWS
Share This