Automated Test Framework
Quick answer
The Automated Test Framework (ATF) lets you build repeatable tests of your instance, forms, catalog items, REST APIs, workflows, so an upgrade or a new update set doesn't silently break what already worked. It turns regression testing from days of manual clicking into an automated pass/fail run.
Key takeaways
- Tests and test steps
- Test Suites & scheduling
- Where and how to run it
- Why it matters for upgrades
- Common mistakes
The Automated Test Framework (ATF) lets you build repeatable tests of your instance, forms, catalog items, REST APIs, workflows, so an upgrade or a new update set doesn't silently break what already worked. It turns regression testing from days of manual clicking into an automated pass/fail run.
Tests and test steps
A Test is a sequence of Test Steps chosen from a large catalog. Steps pass data down the chain, so step 3 can act on the record step 2 created:
Test Suites & scheduling
Group related tests into a Test Suite and schedule it, for example, run the full regression suite automatically after every upgrade in the sub-prod instance, and read the pass/fail report before promoting.
Where and how to run it
Why it matters for upgrades
Common mistakes
- Enabling ATF in production.
- Writing brittle tests tied to exact UI text that changes each release.
- Building tests once and never maintaining them as configuration evolves.
- Testing only the happy path and missing the failure branches.
Want to learn this properly?
Our live, instructor-led ServiceNow Training covers this hands-on, with real projects and a certification path.
Check your understanding
ATF is mainly used to:
- A. Catch regressions and test config
- B. Discover servers
- C. Send email
Show answer
A. Catch regressions and test config
ATF automates regression testing of your configuration.
Related tests are grouped into a:
- A. Test suite
- B. Business rule
- C. Portal
Show answer
A. Test suite
Test suites group tests to run together.
You should run ATF on:
- A. Production
- B. A sub-production instance
- C. Nowhere
Show answer
B. A sub-production instance
Run ATF on non-production instances to avoid side effects.