Automation lab Aú Audio & Media (MEDIA_AUDIO)

Lab 083: Start and stop audio recording with timer

Practice start and stop audio recording with timer in a real web app context as part of the Audio & Media module.

advanced advanced
advanced

Objectives

Use for test scripts
  • Understand the purpose and business flow of start and stop audio recording with timer.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

Audio & Media / media / intermediate / active

Start and stop audio recording with timer

Simulate audio recording with a visible timer and state labels.

Reading and understanding requirements Choosing stable locators Designing assertions based on business rules

Learning objectives

  • Start/stop recording with clear state.
  • Show timer counting seconds.
  • Expose status for automation.

Steps

  1. Click start → recording state, timer runs.
  2. Click stop → timer stops, status updates.
  3. Restart resets timer.

Idle

00:00

Assertions to practice

  • Start sets status to Recording and timer increments.
  • Stop freezes timer and status to Stopped.
  • Restart resets timer to 00:00.