1. Incorrect or Misformatted Starting URL
1. Incorrect or Misformatted Starting URL
What happens:Tests fail immediately or start on the wrong page.Why it matters:The Start URL is where Testavi begins your test flow—it must be complete and properly formatted.Correct example:Always include 
Incorrect examples:
https:// and the complete URL.
-
Missing protocol (
https://)
-
Incomplete URLs

2. Mixing Actions Inside 'Verify' Steps
2. Mixing Actions Inside 'Verify' Steps
What happens:Tests become semantically unclear or are misinterpreted.Bad example:
Good example:
Separate verification and action into distinct steps.Rule of thumb:


- Actions = things the test does (e.g., click, scroll)
- Verifications = things the test checks (e.g., visible, present)
3. Using Go to URL Inside Test Steps
3. Using Go to URL Inside Test Steps
What happens: Testavi can’t interpret “Go to URL” commands mid-test, causing scripts to fail.Bad example:
Good example:

-
Set the Start URL in your test’s settings

-
Use actions for in-test navigation (e.g., click on navigation links)

4. Scrolling
4. Scrolling
What happens:The agent only interacts with elements in view unless instructed otherwise. Tests may fail to locate off-screen elements.What to do:Explicitly include scroll steps before verifications or actions.
The agent will also scroll to find out-of-viewport items, but specifying scrolls improves test stability. See Discrete Actions: Scroll.

Remember that the agent sees only what a human sees. Include scroll instructions to ensure consistent element visibility.
✅ Authoring Do’s & Don’ts
| ❌ Don’t | ✅ Do |
|---|---|
| Use incomplete or incorrect URLs | Use full URLs including https://, copy directly |
| Mix actions and verifications | Keep actions and checks in separate steps |
| Use “Go to URL” mid-test | Set the start URL in test settings |
| Omit scroll instructions | Explicitly include scroll steps before actions/verifications |

