Creatings automated tests on Android
amit.kucheria at linaro.org
Tue Aug 9 06:47:40 UTC 2011
Thanks for the info Yong. I'll look into monkeyrunner and Robotium.
On Mon, Aug 8, 2011 at 5:35 PM, yong qin <yongqin.liu at linaro.org> wrote:
> Hi, Amit Kucheria
> In my opinion, there are serval ways to do that.
> 1. use monkey to run the specified apps randomly.
> 2. use monkeyrunner to simulate the operation of user
> 3. use instrumentation to simulate the operation of user. like Robotium.
> 4. use record and replay to.
> 1) record the events user done on andoid gui to a file
> 2) replay user's operation with the recorded file.
> but this needs
> a) the apps will not be changed often
> b) the screen size of andoid should be fixed.
> if the screen size was changed, it need to record again.
> On 8 August 2011 20:38, Amit Kucheria <amit.kucheria at linaro.org> wrote:
>> In the PMWG, we'd like to to be able to run some apps and measure the
>> power consumption while they run. Since the power measurement
>> framework currently supports Android, does anybody know of automated
>> ways to reproduce a test case?
>> I found Robotium on googling and would like to know if it is
>> something we could standardize around.
>>  http://code.google.com/p/robotium/
More information about the linaro-dev