Question: Why do you use the AndroidJUnitRunner when running UI tests?

  1. The test runner facilitates loading your test package and the app under test onto a device or emulator, runs the test, and reports the results.
  2. The test runner creating screenshots of each screen that displayed while tests are executed.
  3. The test runner facilitates parallelization of test classes by providing for each test class.
  4. The test runner facilitates interacting with visible elements on a device, regardless of the activity or fragment that has focus.

Answer: The correct answer of the above question is Option A:The test runner facilitates loading your test package and the app under test onto a device or emulator, runs the test, and reports the results.