優點
The Good:
·Easy to use
·Tests are easy to read
·Doesn't require access to source code. Can test a APK
·Can identify elements easily (with caveat...more on this later) ·Can fall back on default Android framework ·Great support
缺點
The Bad :
·Not all views and objects are currently supported e.g. SlidingDrawer
·Slower compared to unit testing
·Single class containing all methods, Selenium 1 style. This is going to get messy :)
用法
Robotium的用法很簡單,同時也是很有效的黑盒測試工具。我們在使用時通過Solo對象的實例,可以創建豐富的測試用例。Solo不僅對activity支持,對Toast,Menu,Dialog也是支持的。Solo的更多用法請參考javadoc文檔
目前國内有幾名愛好自動化測試的人員建立了中文站點,定期發表一些使用教程、案例、以及API翻譯。



















