0

We are trying to automate the testing of android phones. We want to run a benchmark application in android through monkeyrunner/adb, at the end of test how can i detect the test is complete or not through adb/monkeyrunner. Is there any command to check the application idle case in android.

Premjith
  • 1,128
  • 1
  • 11
  • 21

1 Answers1

1

What are you going to do after you determined that the benchmark run has finished? Probably parse the logcat output for the benchmark results. So why won't you just monitor the logcat anyway and finding the results would mean that the benchmark run has finished.

In case your benchmark app of choice (which you did not mention for some reason) does not log the results - just monitor the facility you were going to use to collect the results.

Alex P.
  • 30,437
  • 17
  • 118
  • 169