1

有人可以帮助我对多个设备进行 android monkey 测试吗?

->adb shell 猴子 -p com.example -v 500000

所以在这里我在我的电脑上连接了 10 台设备。我想为所有设备运行猴子测试并同时捕获日志。

有人可以建议我吗?

4

1 回答 1

2

使用这样的脚本:

#! /bin/bash

for s in s1 s2 s3
do
    adb -s $s shell monkey -p com.example -v 500000 > $s.log
done

其中 s1, s2, ... 是您设备的序列号

于 2013-11-15T21:57:16.847 回答