MonkeyRunner强大的功能之一便是允许用户自由录制需要的脚本,录制和回放需要两个脚本文件 monkey_recorder.py和monkey_playback.py 首先来看 monkey_record.py #!/usr/bin/env monkeyrunner # Copyright 2010, The Android Open Source Project# # Licensed under the Apache License, Version 2.0 (the "License