Automation lab Aú Error Handling & Resilience (ERROR_RESILIENCE)

Lab 059: Chart rendering error handling

Practice chart rendering error handling 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 chart rendering error handling.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

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

Chart rendering error handling

Handle chart load failure and retry rendering.

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

Learning objectives

  • Detect render failure.
  • Show error placeholder.
  • Retry to render chart successfully.

Steps

  1. Load chart (first attempt fails).
  2. Observe error message.
  3. Retry to show rendered state.

Practice sandbox

Chart load with retry.

Chart not loaded

Idle

Assertions to practice

  • First load fails and shows error + retry button.
  • Retry hides error and renders chart block.
  • Status updates accordingly.