移动测试基础 【求助】monkey 的并发测试

未来来 · April 01, 2014 · Last by 恒温 replied at April 01, 2014 · 1369 hits

PC 连着两台设备,怎么使 monkey 在两台设备上运行?

共收到 5 条回复 时间 点赞

额。。首先不能叫并发。。

其次 adb -s 指定 device。。。。

这倒没试过。可以照 Ye 总说的试试。

adb -s <device> <command>

cts 可以 -shard

#! /bin/bash

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

多机测试 需指定设备号 无设备号的需自行打开后台设置重启 usb 端口

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up