Search code examples
androidfunctional-testingrobotium

Looking for functional GUI testing tool for Android without code access


I'm looking for a functional GUI testing tool for Android without the base of source code. Most things I found are JUnit testing frameworks that extend the ActivityInstrumentationTestCase2<Activity> from Android SDK. But I look for a tool that provides f. exe. button clicks, enter String to txt fields and so on without knowing the Activity class name, package or further information.

Perfect would be something that finds Widgets on a already started Android app, can interact with it from an other application without the information I told above. I was having a look at Robotium RC, but found no information, tutorials etc. just the JavaDoc and the .jar file.

edit: It should be open source


Solution

  • I think you should look at the standard monkeyrunner android tool. With the help of this tool you can start your application, emulate drag gestures, press on buttons, tap on the screen. To automate the process of creation of these scripts you can use monkeyrecorder.py script.