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

Setting up Automated Testing Framework (ATF)- # Setting up Automated Testing Framework (ATF)

April 20, 2018 [servicenow](/tags/servicenow/)

  Enable AI AnimationHere’s our set up.

## [Scheduled Runner](#scheduled-runner)

We created a local admin account in our non-productions.

Then we added a powershell script to launch the browser to the scheduled
runner.

## [Test configurations](#test-configurations)

I prefer making the records user, the user’s membership as part of the
test to ensure I have a clean, working state instead of picking a user
who may have that role.

Create a base Test, a test you will have everyone start from that
does the following;

- Create a user
- Create a user membership
- Impersonate the new user

- Do the actual test.

## [Some items to remember](#some-items-to-remember)

- Don’t test code you don’t own.
- Test’s should be independent.
- Test good/bad path. Meaning, if you add functionality for x group,
verify it doesn’t exist for y group.

[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)

---
[View this page on GitHub](https://github.com/jacebenson/jace.pro/tree/main/./src/posts/2018/2018-04-19-setting-up-automated-testing-framework-atf.md).

[Setting up Automated Testing Framework (ATF)](https://jace.pro/blog/setting-up-automated-testing-framework-atf/) [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/setting-up-automated-testing-framework-atf/*
