Breaking Limitations Of Calabash-Android

Written by Rajdeep Varma.

Two of the most popular drivers for Android app automation are Appium and Calabash. While both have their pros and cons, their major limitations are:

Calabash: Can only drive UI which is part of the application under test; in particular there is no support for testing notifications. Appium: Cannot call backdoor methods in the application like Calabash ( Backdoors are very helpful to set the state of application under test.

We have been using Calabash for automated testing at Badoo since before Appium existed. The stability of Calabash is great and it’s still faster compared to Appium, so we don’t want to migrate. But, to automate a feature-rich application like Badoo, we had to overcome the ‘only application UI’ limitation of Calabash.

I have patched calabash-android server with UIAutomator2 and solved this issue

Please follow my post here on Badoo tech blog.

Done At: Jan 28,2016