great tool to run stress test on your app.
i use to get the x,y location via monkey_recorder (you can read it here test automation)
monkeyrunner.bat -v ALL D:\MyStuff\Android\monkey_runner\monkey_recorder.py
this open UI , and the log on the x,y.
you can run the export log via
monkeyrunner.bat -v ALL monkey_playback.py savedLog.mr
i like to use the python script.
in my script i get memory status via
procInfo= str(device.shell('dumpsys meminfo yaniv.ezphone.com'))
print procInfo
to use long click i used this pattern (down,sleep,up)
device.touch(270, 188, MonkeyDevice.DOWN)
MonkeyRunner.sleep(1)
device.touch(270, 188, MonkeyDevice.UP)
No comments:
Post a Comment