monkeyrunner

Can a specified message or row be cleared in the adb logcat instead of clearing all?

戏子无情 提交于 2019-11-26 22:12:46
问题 I am using Monkeyrunner (automation) to test an app on an Android device (Samsung S2), and since it does not allow me to see image patterns on the screen, I have to rely on the adb logcat (using Windows) to look for specific messages in order to know when the next page has loaded for my automation script. And in order to look for specific (unique) messages in the logcat, for my monkeyrunner script, I have to CLEAR out ALL the adb logs, then perform the search. Is there a way to clear out only