Tests
A test in Traceback is a natural-language description of a user flow. Traceback’s autonomous runtime interprets the prompt, drives a real browser, and determines whether the flow passed or failed.
Anatomy of a test
| Field | Description |
|---|---|
| Name | A short human-readable label (e.g. “Login flow — standard user”) |
| Prompt | The plain-English instructions for the test |
| URL | The starting URL for the browser session |
| Mode | Autonomous or Deterministic |
| Timeout | Maximum time before the run is marked as timed out |
Writing good test prompts
Good prompts are:
- Specific about the user — “Sign in as an admin user” vs. “Sign in”
- Specific about the outcome — “Verify that the dashboard loads” vs. “Check that login worked”
- Action-oriented — use verbs: go to, click, type, verify, wait for
Tip
Avoid referencing DOM selectors or CSS classes in your prompts. Traceback is designed to work at the semantic level, not the implementation level.