Robotium Recorder的初试
一、安装
资料来自官方
Prerequisites:
- Install the Java JDK.
- Install the Android SDK. The ADT bundle with Eclipse is recommended. Or update the Android SDK tools if already installed. From the Eclipse toolbar go to: Window > Android SDK Manager. Check Android SDK tools and click update.
Install Robotium Recorder for Eclipse
Start Eclipse and go to: Help > Install New Software. Enter "http://recorder.robotium.com/updates" in the "Work with" field. Press Enter and wait for Robotium to get visible. Check Robotium Recorder and uncheck "Contact all update sites during install" before clicking "Next".
![](http://cdn.shopify.com/s/files/1/0269/6765/files/3_55f7253d-9875-4789-b1ba-234e5aad6db9re_large.png?1112)
From the Install Details screen click "Next".
Accept the license and click "Finish". The installation process will continue.
![](http://cdn.shopify.com/s/files/1/0269/6765/files/5_c938dad6-19e3-4520-8ed4-0db6f7b49789_large.png?833)
Click "OK" in the Security Warning dialog.
![](http://cdn.shopify.com/s/files/1/0269/6765/files/7_5b80a294-c6a7-45f0-99e9-e170ce835be1_large.png?835)
Click "Yes" to restart Eclipse with Robotium Recorder installed.
![](http://cdn.shopify.com/s/files/1/0269/6765/files/8_9843b8d8-51c6-43ef-a2e8-cec23c7df75b_large.png?836)
Start Robotium Recorder
Robotium Recorder can be started from: Eclipse > File > New > Other. From "New" window select "New Robotium Test" and click "Next".
![](http://cdn.shopify.com/s/files/1/0269/6765/files/10_2fb9a618-2e85-4552-aa19-90912c5d2c52_large.png?838)
Robotium Recorder can also be started by right clicking an existing app or test project and from the opened menu select: Robotium Recorder > New Robotium Test.
![](http://cdn.shopify.com/s/files/1/0269/6765/files/12_5d410859-6313-4981-a687-0d980c3fdbe4_large.png?846)
Robotium Recorder starts.
![](http://cdn.shopify.com/s/files/1/0269/6765/files/1_eff609d8-4222-41a9-8d53-41c1769f1bd8_large.png?919)