Automation lab Aú Error Handling & Resilience (ERROR_RESILIENCE)

Lab 055: Long running operation with blocking overlay

Practice long running operation with blocking overlay in a real web app context as part of the Error Handling & Resilience module.

advanced advanced
advanced

Objectives

Use for test scripts
  • Understand the purpose and business flow of long running operation with blocking overlay.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

Error Handling & Resilience / error-handling / advanced / active

Long running operation with blocking overlay

Show a blocking overlay during long operations to prevent interaction.

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

Learning objectives

  • Display overlay + spinner during operation.
  • Block buttons while overlay active.
  • Hide overlay after completion.

Steps

  1. Start operation; overlay shows.
  2. Attempt to click other button (should be blocked).
  3. After delay, overlay hides and status updates.

Practice sandbox

Blocking overlay for long work.

Idle

Assertions to practice

  • Overlay visible during operation.
  • Buttons disabled while overlay shown.
  • Status shows completion after delay.