Now supporting recording without source code and generating monkeyrunner tests
One of the new features is recording monkeyrunner test scripts by using the application under test. monkeyrunner is a tool providing an API for writing programs that control an Android device or emulator from outside of Android code. monkeyrunner is primarily designed to test applications and devices at the functional/framework level and for running unit test suites. Testdroid Recorder generates monkeyrunner python code, which works on higher abstraction level of Android OS than for example Robotium framework and uses mainly x,y -coordinates to interact with the device screen. This has limitations in multi-device testing with various screen resolutions, but may be absolutely adequate for certain tests. Robotium works with objects in the application under tests rather than x,y -coordinates making it more compatible for automated testing of an application on devices with totally different specifications as well as with different languages (the testing of localised applications).
Secondly, recording either Robotium tests or monkeyrunner tests without source codes is now possible. You no longer need the source code for recording tests, just having the .apk is enough. This has been seen as necessary feature by QA personnel we have worked with, who are interested in true black-box testing of Android applications.
We have also revamped the UI, now it’s easy to correct mistakes made during recording and record multiple test methods on one go. We also added a “take screenshot” command to check the appearance of the application on the devices conveniently during the test execution. Other UI improvements are setting the recognition preference, for example if you want Recorder to use index instead of resource ID in Robotium testing (for example you can use index instead of resource ID in views where all widgets share the same resource ID).
For more information about these new features please take a look at our new tutorials section at https://bitbar.com/testing/.