How Bumble Breaks the Limitations of Calabash Android
Original post Breaking the Limitations of Calabash Android
Article Summary
Rajdeep Varma from Badoo cracked a problem that's plagued Android test automation for years. His solution lets Calabash test anything on the device, not just your app's UI.
Calabash-Android is fast and stable but has a critical limitation: it can only interact with UI elements inside your app. That means no testing push notifications, home screen widgets, or system dialogs. Badoo's QA team needed a fix without migrating their entire test suite to Appium.
Key Takeaways
- Integrated UIAutomator 2.0 into Calabash server using shared Instrumentation framework
- Enables testing notifications, widgets, and cross-app interactions in Calabash
- Solution maintains Calabash's speed advantage and backdoor method support
- Open source implementation available as ready-to-use Ruby gem
By bridging UIAutomator 2.0 with Calabash's Instrumentation backend, teams can now test system-level Android interactions while keeping Calabash's performance benefits.
Continue reading
What This Article Covers
Calabash-Android only worked with UI elements inside the app itself because it relied on the Instrumentation framework. This meant QA teams couldn't automate push notifications or system-level interactions, which Appium could handle.
Rajdeep Varma added UIAutomator 2.0 to Calabash-Android's server by creating a UiDevice object in the shared Instrumentation backend. He then built new Action commands including 'pull_notification' and 'uiautomator_touch_partial_text'.
The flakiness from device dynamics went away while keeping Calabash's speed and backdoor method support. Teams could now test homescreen widgets, intent dialogs, and third-party app interactions without switching to Appium.
This page summarizes “Breaking the Limitations of Calabash Android” by Bumble, published Apr 5, 2017. All credit for the original work goes to the authors.