Automation lab Aú CRUD Operations (CRUD_OPERATIONS)

Lab 026: Advanced pagination navigation

Practice advanced pagination navigation in a real web app context as part of the CRUD Operations module.

intermediate intermediate
intermediate

Objectives

Use for test scripts
  • Understand the purpose and business flow of advanced pagination navigation.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

CRUD Operations • web-ui • intermediate • active

Advanced pagination navigation

Paginate through data, verify stateful page controls and range text.

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

Learning objectives

  • Verify page number buttons and range display.
  • Disable prev/next at boundaries.
  • Assert items rendered per page.

Steps

  1. Navigate via Next, Prev, and direct page buttons.
  2. Confirm range text updates (e.g., 1-3 of 9).
  3. Ensure disabled state on first/last page.
  4. Assert list items match current slice.

Practice sandbox

Paginate through a 9-item list (3 per page).

    1-3 of 9

    Assertions to practice

    • Prev disabled on first page; Next on last.
    • Page buttons reflect active page with aria-current.
    • Rendered items match current slice.