Systers Community

Part II- Create UI Tests with Espresso Test Recorder

Prerequisite:

Steps:

  • Click Run > Record Espresso Test
  • In the Select Deployment Target window, choose your emulator/physical device
  • Record the Test window.
  • Interact with your device to start logging events.
  • Add assertions to verify UI elements, follow this guide
  • Click complete recording. Pick a test class name for your test window & save, follow this guide
  • Create test for any one screen of Powerup application

Resources:

  • Read about UI tests at this link
  • Ask any questions or directions in the #powerup on Systers Open Source Slack. Mention @geekanamika if you need help on this task.

Work Submission:

  • Screenshots of recorded test window while adding assertions
  • Create a pull request after saving your generated test class
  • Provide link to pull request in comment before submitting task

Task tags

  • test
  • quality-assurance
  • android

Students who completed this task

Fidella, Yuyuan Luo, Valentun, Boluwatife Tejumola, Aryaman Agrawal

Task type

  • done_all Quality Assurance
close

2017