An ITSM Regression Pack with ATF
On this page
In this lesson, you will learn:
- What ATF is
- What goes in SNWR’s pack
- How a test is built from steps
- When to run the pack
π Quick look back: Last time: UAT Test Scripts with Process Owners. You learned how to write a UAT script with clear steps and expected results, and run it with the process owner.
1 “The upgrade broke priority”
After an upgrade on another project, priority stopped setting itself.
- Nobody re-tested incidents.
- Agents set priority by hand for a week.
- SLAs were wrong the whole time.
π The fix: build a pack of automatic tests, and run it before every release and upgrade.
2 ATF and SNWR’s pack
Key term: Automated Test Framework (ATF)
A ServiceNow tool that runs tests for you, step by step, like a user would.
Key term: Test suite
A group of tests run together, like SNWR ITSM regression pack.

3 How a test is built
- A test is a list of steps, like Impersonate, Open a New Form, Set Field Values, Submit and Field Values Validation.
- Catalog steps can open an item, set variables and order it.
- Tests create their own data, and ATF rolls it back afterwards.
β οΈ Golden rule: Don’t run ATF on production. Keep it on snwrtest and snwrstage.
4 Let’s try it: build one test
- Open Automated Test Framework βΊ Tests and create SNWR Incident priority.
- Add steps: Impersonate Abel Tuter, Open a New Form (Incident), Set Field Values (impact 2, urgency 2, caller Sam Lee).
- Add a Field Values Validation step: priority is 3 – Moderate. Then Submit.
- Run the test and read the results.
- Create a suite named SNWR ITSM regression pack and add the test.
5 Quick recap
- ATF runs tests for you, like a user would
- A test suite groups tests
- SNWR’s pack: priority, assignment, resolve, change, catalog order
- Tests are built from steps and roll back their data
- Never run ATF on production
6 Check yourself
Think of your answer first. Then tap to check.
1 Impact 2 and urgency 2. What priority does the test expect? Show answer
P3.
2 When does SNWR run the pack? Show answer
Before every release and upgrade.
3 What happens to data a test creates? Show answer
ATF rolls it back.
4 Can you run ATF on snwr (production)? Show answer
No. Use snwrtest and snwrstage.
Nice work! SNWR’s key journeys now test themselves. π
Next up: Moving ITSM Configuration Between Instances
Was this lesson helpful?
Please log in to share lesson feedback.
Have a question or doubt?
Ask here and get help from instructors and fellow learners.
Only logged-in learners can post.




