Docs
RunMacro Documentation
Learn RunMacro from basics to advanced.
Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

Assert a web condition (Smart Assert)
What it does
The Smart Assert command verifies a condition (element exists, text/URL/attribute/variable matches) to confirm the expected state. On failure, you choose: stop, continue, jump to a label, or pause.
When to use it
- Confirm you reached the right page/state before continuing.
- Check that a previous step succeeded.
- Stop safely when detecting an error mid-run.
Configuration steps
- Add a Smart Assert command.
- Choose the assertion type (element exists, text contains, URL contains, variable...).
- Enter the expected value if needed.
- Choose the on-fail action: stop / continue / jump / pause. Save.
Every option explained
Real example
Example: verify a successful login
- Smart Assert, type URL contains
/dashboard. - On fail: jump to label
relogin. - On success continue normally.
Tips & common mistakes
Use Assert at key checkpoints to catch errors early instead of letting the workflow drift.
RunMacro