Assertions in Robonito

Assertions are the foundation of automated testing. They mathematically validate that your application's user interface, network responses, and routing behave exactly as intended when users interact with it.

With Robonito, you can seamlessly attach assertions dynamically while recording your test journey, or inject them retroactively by editing an existing test step.

When configuring a new validation rule, the Add Assertion dialogue presents you with multiple tailored assertion categories, allowing you to enforce highly specific validation criteria securely.

Add Assertions Dialog


Types of UI Assertions

Robonito supports a comprehensive suite of UI-centric assertion types to ensure rock-solid test coverage for any web element. Explore the dedicated sections below to master each category:

  • Text Assertions
    Validate that explicit static strings, dynamic variables, and complex RegEx patterns correctly render inside your UI elements.

  • UI / Element-Based Assertions
    Verify the structural presence, exact count, physical visibility, and dynamic CSS styling properties of DOM elements.

  • Page Assertions
    Ensure your application successfully navigates to the expected URL and loads the correct Page Title metadata during specific workflows.

  • Smart Assertions
    Let AI handle the complex DOM logic. Use plain, natural English to describe what should be explicitly true about a specific UI element (e.g., "The submit button should be disabled").

  • Custom Assertions
    Execute complex validations dynamically using runtime variables instead of fixed, hardcoded strings.