【EasyClick】【安卓】adb shell启动停止脚本方法
执行sdcard的iec文件:adb shell am startservice -a TESTCASE.EXEC.START.ACTION -n com.gibb.easyclick/com.gibb.abtest.testcase.service.MainService --es path /sdcard/a.iec
执行sdcard的js文件:
adb shell am startservice -a TESTCASE.EXEC.START.ACTION -n com.gibb.easyclick/com.gibb.abtest.testcase.service.MainService --es path /sdcard/a.js
停止脚本 :
adb shell am startservice -a TESTCASE.EXEC.STOP.ACTION -n com.gibb.easyclick/com.gibb.abtest.testcase.service.MainService
启动脚本,{package}替换成脚本包名
adb shell am startservice -a {package}.TESTCASE.EXEC.START.ACTION -n {package}/com.gibb.abtest.testcase.service.MainService
页:
[1]