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.
Aamir Siddiqui · Jul 2, 2015 at 11:46 am · no comments

Xiaomi Sold 34.7 Million Phones In 6 Months

2015 has been a phenomenal year for Xiaomi so far. With a stellar rise in 2014, 2015 saw increased success outside of China for Xiaomi along with tremendous consumer interest in the company's smartphone offerings. The company also increased its ventures outside of smartphones touching everything from routers to selfie sticks. The company took to twitter to announce their recent success. Xiaomi's smartphones sales increased 33% year-on-year, with the company having sold 34.7 Million smartphones in the first half of...

XDA NEWS
Aamir Siddiqui · Jul 2, 2015 at 11:30 am · no comments

Sprint Reacts To Jab From T-Mobile

America's cellular network space has always been a battle of the big four: Verizon, AT&T, Sprint and T-Mobile. Together, they serve around 370 million subscribers while the 5th place U.S. Cellular serves 4.7 million subscribers. The battle for the top spot has always been between Verizon (133.5 million) and AT&T (121.8 million), while Sprint and T-Mobile battle it out for the 3rd place with 57.1 million and 56.8 million subscribers respectively. Needless to say, in such a neck-to-neck competition scenario, swords...

XDA NEWS
Jimmy McGee · Jul 2, 2015 at 06:00 am · no comments

Floating Apps with Rovers – XDA App Review

There are a lot of great launchers to help customize your phone. Some Launchers allow you to apply different color themes. Others offer many great automated features. Some make your most used apps easy to locate by putting them in prominent positions. There is a launcher that will let you do just about anything you want. XDA Senior Member roshga offers up a neat little app that allows you to have floating shortcuts to your favorite apps. In this video, XDA TV Producer TK...

XDA NEWS
Share This