AndroidViewClient/culebra was initially conceived as an extension to monkeyrunner but has since evolved into a versatile pure Python tool. It streamlines test script creation for Android applications by automating tasks and simplifying interactions. This test framework:
- Automates the navigation of Android applications.
- Generates reusable scripts for efficient testing.
- Offers device-independent UI interaction based on views.
- Utilizes 'logical' screen comparison (UI Automator Hierarchy based) instead of image comparison, avoiding extraneous detail issues like time or data changes.
- Supports concurrent operation on multiple devices.
- Provides straightforward control for high-level operations such as language change and activity start.
- Fully supports all Android APIs.
- Written in Python with support for Python 3.6 and above in versions 20.x.y and beyond.
🛎 | A new Kotlin backend is under development to provide more functionality and improve performance. Take a look at CulebraTester2 and 20.x.y-series prerelease. |
---|
NOTE: Pypi statistics are broken see here. The new statistics can be obtained from BigQuery.
As of February 2024 we have reached:
Thanks to all who made it possible.
pip3 install androidviewclient --upgrade
Or check the wiki for more alternatives.
🚀 Check Examples and Screencasts and videos page to see it in action.
Detailed information can be found in the AndroidViewClient/culebra wiki