摘要:
#Save this file as mms.py and run it by Command: MonkeyRunner mms.py# Imports the monkeyrunner modules used by this programfrom com.android.monkeyrunner import MonkeyRunner, MonkeyDevice# Connects to the current device, returning a MonkeyDevice objectdevice = MonkeyRunner.waitForConnection()# sets a
阅读全文
摘要:
写一个help.py然后用命令 monkeyrunner.bat help.py即可生成help.html#help.pyfrom com.android.monkeyrunner import MonkeyRunner, MonkeyDevicetext = MonkeyRunner.help("html");f = open('help.html', 'w')f.write(text);f.close();
阅读全文