Manual Assertions
Manual assertions let you add specific validation rules to any step in your web test case — without relying on AI. You define exactly what you want to check, and Robonito evaluates it during test execution.
When to Use Manual Assertions
Use manual assertions when you need precise control over what gets validated:
- Checking that an exact error message appears after a failed login
- Verifying a price, count, or label matches a known value
- Confirming an element is visible or hidden at a specific point in the flow
How to Add a Manual Assertion
During Recording
- In the recording toolbar, click the Add Assertion button.
- Choose your assertion type (Text, UI, Page, or Visual).
- Click the target element on the page.
- Configure the expected value and matching rules.
- Click Save Assertion.
Screenshot placeholder: [Screenshot of the assertion panel open during a recording session]
After Recording (Editing a Step)
- Open your test case in the Test Explorer.
- Click the Edit (✏️) icon on a step.
- In the step editor, scroll to the Assertions section.
- Click Add Assertion and follow the same steps as above.
Supported Assertion Types
| Type | What It Checks |
|---|---|
| Text Assertion | Text content inside a UI element |
| UI Assertion | Element existence, visibility, count, or CSS style |
| Page Assertion | Page title or current URL |
| Smart Assertion | Plain-English AI-powered UI validation |
| Custom Assertion | Dynamic values using runtime variables |
Tips for Reliable Assertions
- Be specific: Prefer
Exact MatchoverPartial Matchwhen the value is always the same. - Check visibility, not just existence: An element might be in the DOM but hidden — use
Element Visiblewhen the user must actually see it. - Use variables for dynamic text: If the value changes per run, use a Custom Assertion with
{{!variableName}}.