批处理-顺序执行多个monkeyrunner脚本
上一篇 /
下一篇 2015-04-22 17:52:13
/ 个人分类:monkeyrunner
【批处理-顺序执行多个monkeyrunner脚本】1.在\sdk\tools新建一个.bat文件(新建一个txt文本,修改后缀名为bat即可)
2.编辑test.bat文件,如下内容:
————————————————————————
@echo off
#进入\sdk\tools目录
D:
cd D:\mytools\sdk\tools
#执行 call命令会让monkeyrunner脚本顺序执行
#hm_note\001people.py 为001people.py 相对于monkeyrunner.bat的相对路径
call monkeyrunner.bat hm_note\001people.py
call monkeyrunner.bat hm_note\meminfo.py
call monkeyrunner.bat hm_note\002huadong.py
call monkeyrunner.bat hm_note\meminfo.py 102
call monkeyrunner.bat hm_note\003call.py
call monkeyrunner.bat hm_note\meminfo.py 103
#执行完之后,出现一个提示“请输入任意键继续....”表示已经执行完了
pause
收藏
举报
TAG: