Thanks for the info Yong. I'll look into monkeyrunner and Robotium.

Cheers,
Amit

On Mon, Aug 8, 2011 at 5:35 PM, yong qin <yongqin....@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.
>     http://developer.android.com/guide/developing/tools/monkey.html
>
> 2. use monkeyrunner to simulate the operation of user
>
> http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html
>
> 3. use instrumentation to simulate the operation of user.  like Robotium.
>     http://developer.android.com/guide/topics/testing/testing_android.html
>
> 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.kuche...@linaro.org> wrote:
>>
>> Hi,
>>
>> 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[1] on googling and would like to know if it is
>> something we could standardize around.
>>
>> Regards,
>> Amit
>>
>> [1] http://code.google.com/p/robotium/
>>

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to