---
original_url: "https://jace.pro/blog/automated-testing-atf-opinions/"
format: markdown
ai_optimized: true
---

Automated Testing (ATF) opinions- # Automated Testing (ATF) opinions

December 3, 2017 [servicenow](/tags/servicenow/)

  Enable AI AnimationThis is a list of items I think the ATF Tests should include.

I think every test should have the following steps;

Create users to use to for test (Server>Insert Record on sys_user)
- Create role(s) for the newly created user, as you may not always
know a good user to test as.(Server>Insert Record on
sys_user_has_role)
- Impersonate the user(Server>Impersonate)
- Use Server>Record Validation to test most field values
- Use Form validation for User Experience testing.

Tests should also follow these as well

- Track Tests in update set with the code
- Group Tests by tag.  Tag for Application, Testing Schedule, and
Feature/Effort/Sprint
- Tests should be small units to test and not dependent on eachother.
- Tests should be part of the estimate of work when sizing work.
- Tests should run on a schedule.

[Community Blog](https://community.servicenow.com/community?id=community_blog&sys_id=1a4e66addbd0dbc01dcaf3231f96192f)
for further reading.

[Further Reading](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/other-document/nowforum/sydney/hands-on-lab2-automated-testing-framework.pdf)

- [Saved Off on 2018-12-26](./hands-on-lab2-automated-testing-framework.pdf)

---
[View this page on GitHub](https://github.com/jacebenson/jace.pro/tree/main/./src/posts/2017/2017-12-02-atf-thoughts.md).

[Automated Testing (ATF) opinions](https://jace.pro/blog/automated-testing-atf-opinions/) [Jace Benson](https://jace.pro) ![Jace Benson](https://jace.pro/icon-512x512.png)

---

*This content is from Jace Benson's ServiceNow and tech blog at jace.pro*
*Original post: https://jace.pro/blog/automated-testing-atf-opinions/*
