Page Assertion

Page Assertions are used to validate page-level properties during test execution. They ensure that the application navigates to the correct page and that the page is loaded as expected.

The Add Page Assertion dialog appears when you choose to add a page-level validation during recording or while editing a test step. Page Assertion

Page Assertion Types

Robonito supports the following page assertion types:

Page Title

Verifies the title of the currently loaded page.

Configuration Options

  • Expected Title* – Enter the expected page title
  • Match Type – Choose how the title should be matched:
    • Exact Match
    • Partial Match (if supported)
  • Case Sensitive – Enable this option to perform case-sensitive matching

Use case:
Ensure the user is navigated to the correct page after an action.

Page URL

Validates the URL of the currently loaded page.

Configuration Options

  • URL* – Enter the expected page URL

Use case:
Confirm correct navigation or routing after page transitions.

Add Page Assertion

After configuring the page assertion:

  1. Review the expected title or URL
  2. Click Add Assertion to attach the page assertion to the selected test step

During execution, Robonito evaluates the page assertion and marks it as passed or failed in the execution report.

Benefits of Page Assertions

Page Assertions help ensure:

  • Correct navigation flow
  • Accurate page rendering
  • Reliable validation of routing behavior