What’s New in UIAutomator 2.0 and How to Get Started

Dear Testdroiders,

Time to time we cover new frameworks here at Testdroid Blog and despite UIAutomator really isn’t a new framework for Android app testing, some things have changed quite a lot from the version 1.x to 2.0. That being said, the fundamental purpose of UIAutomator framework hasn’t changed and it still allows its users to focus on UI testing and provides a lightweight, but very efficient and easy-to-learn API to get things done fast.

Let’s see how things are different between these two versions – and how you should prepare tests.

Read more

Top 5 Android Testing Frameworks (with Examples)

Mobile Web Development
Mobile Web Development

Google’s Android ecosystem continues to expand rapidly. It is evident that new mobile OEMs are emerging in every corner of the world, bringing in different screen sizes, ROM/firmwares, chipsets, and etc. For Android developers, it becomes rather difficult to cope with the fragmentation.

Luckily, Android (including iOS) developers have had unlimited access to some advanced cloud-based solution, like Testdroid Cloud, to run automated tests on a large scale of real devices for quality assurance. Also the emergence of different Android testing frameworks has substantially eased Android developers’ lives.

Today we are going to behold 5 most used Android testing frameworks and break down the basics and code examples of each. You can also check out top 5 iOS test automation frameworks with examples here.

Read more

How to use uiautomator within Testdroid Cloud


What is the uiautomator and what can it be used for? Basically, uiautomator testing framework let’s you test your user interface (UI) efficiently by creating automated functional UI test cases that can be executed against applications on different set of Android devices. The uiautomator is a Java library containing APIs to create customized functional UI tests, and an execution engine to automate and run the tests.

A quick comparison of uiautomator and Robotium frameworks can be found from here.

Read more

The Pros and Cons of Different Android Testing Methods

The Google Play has become an overwhelming distribution channel for developers building their next-big-things, either in forms of applications, games or even services. This ever-expanding marketplace gives developers a global reach and target coverage of hundreds of different Android devices on a rapidly growing and changing platform.

However, due to variety in Android OS/platform versions, fragmentation does exist. Android fragmentation is known to cause multiple and incompatible versions of the system specific to the OEM and that causes applications and games to work differently (or wrongly) on many Android devices.

Read more

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.