Automation of mobile app testing is a topic for endless discussions. Many admirers of manual testing dismiss it altogether, however, when it comes to actual testing of your product, you must be sensible and admit: automation is indispensable. Multiple versions of Android devices, their versatility in terms of screen sizes/resolutions, physical resources, etc. open the door to automation in mobile testing.
Here are a couple of tools to use for Android test automation:
Appium is the tool that lets testers perform testing using preferred test practices, frameworks, and tools without including an SDK or recompiling the app. With Appium testers can test native and hybrid applications with the tests created in favorite dev tools using different programming languages.
Robotium is the most popular solution for Android testing automation. The developers say: “It’s like Selenium, but for Android”. Tests are written on Java. Technically Robotium is a library for regular Unit tests. It has no remote control and there is an option of testing apps without sources, but the process is nontrivial.
MonkeyTalk is the mobile app testing tool that provides ability to automate functional tests for Android apps. This tool supports simple test automation as well as data-driven test suites. With MonkeyTalk testers are able to test native, mobile, and hybrid app on real devices or simulators.
MonkeyRunner. Allows you to perform functional app testing, providing API for managing the device. MonkeyRunner is not as advanced as Robotium and doesn’t require source code of the application. The tool consists of three modules: MonkeyRunner to manage connections to the devices, MonkeyDevice to manage apps and events (clicks, swypes, etc.) and MonkeyImage to gather screenshots for advanced test reporting. MonkeyRunner allows to create test scripts with Python or just record and play them.
Sikuli is another open source tool for automating GUI testing. It’s an open cross-platform visual environment for creating scripts, oriented on programming of graphic interface with the help of images (screenshots). Its peculiarity: the script that sets the succession of actions allows to use screenshots, so in order to press a button you would only need to add the screenshot of this button to the script.
What tools do you use for mobile app testing automation? Let us know by leaving a comment.