sikuli ( http:// sikuli.org
of the application layer;
Let's talk about open source:
- Robotium
- Monkeyrunner
- Robolectric
- Cts
There is also an emerging testing tool that was previously seen on GitHub and is now missing, as if it were a BDD type of syntax;
In addition, web-based testing also has an Android webdriver based on selenium webdriver:
There are two kinds:
- Remote server-based: The official Java interface is provided, but the Python version of the official is not. I like python very much, so I realized it and open source to GitHub:https://github.com/truebit/andrOidwebdriver4python There are questions that you can refer to above
- Based on instrumentation: already in the Android SDK R14 can be installed
not open source is more, but I have seen the general is the following several ideas:
1. Android-based Java instrumentation framework:
- based on Robotium, for example Bitbar products: http:// bitbar.com/products
- based on instrumentation, then the sea went, Many companies write their own tools based on this, and the other Robotium is based on this
2. Various commands based on the Android Lib layer, such as sendevent,getevent, Monkey, service, and then encapsulated in various languages
Monkeyrunner is still very promising, Google made its own. Now the latest dev version already has the Easymonkey to support the UI ID operation.
the angle of the classification to answer
1) Pure white box method test, Monkey. Upstairs already has the friend mentioned, uses the Moneky more is the development team, but is not the pure Test team, after all requires to the Android development comparison understanding only then uses monkey.
2) The white box of Robotium, this guy claims to be black box, but I do not agree ~ because the use of robotium need to know the package
Several additions are introduced:
- Sikuli, is a number of MIT's elite a set of graphical programming system, can be used to test any graphical interface, with tools screencast, you can easily use Sikuli to test the real phone, language with Python syntax, are visual script.
- Monkey, used for stability testing of apps. Industry-Ready Oh, not to say that you are doing Android development.
- Ase,android script environment, is the API scripting, stability, environment configuration slightly complex, but,
What kinds of Android phone automation test tools are there?