Testing is an essential part of any successful project. Using an Automation Test Framework can save you time and resources and optimize your efforts in the long run.
What is Automation Test Framework (ATF)?
Before diving into the ServiceNow framework and its benefits, let’s clarify what a test automation framework actually is. A testing framework is a set of components that facilitate executing tests and comprehensive reporting of test results. A framework is comprised of a combination of protocols, rules, standards, and guidelines that are designed to help professionals test more efficiently.
In the ServiceNow context, it is an application used to automate the tests performed to verify applications, customizations, or configurations. ATF gives the tools to create and run automated tests on ServiceNow non-production instances.
ATF provides functional testing that allows actions such as creating records, setting field values, and checking the results of field values.
The Automation Testing Framework is free with the Now Platform and uses the same development tools developers are familiar with.
Why use ATF to test your instance?
- Avoids time-consuming and repetitive testing
- Avoids user error
- Allows you to create reusable tests
- Speeds up test creation
- Avoids breaking tests related to user interface (UI) changes
- Promotes confidence in your platform stability
- Parallel testing
What can we test with ATF?
When and how ATF should be used?
- ATF is intended for functional testing of business logic.
- ATF targets browser compatibility testing across multiple browsers and operating systems.
- ATF is effective for regression testing.
- ATF can be integrated with Jasmine, an open
- You should never use ATF tests or any other functional testing tools in your production instance.
- ATF is not intended for testing every single UI component.
- ATF can be used but is not recommended for unit testing.
- ATF is not a load testing or performance testing application.
Best practice process for using ATF
As one of the pioneers in computer science Edsger W. Dijkstra said in a speech back in 1969, “Testing shows the presence, not the absence of bugs.” And now we have all the tools to ensure mistakes are cleared up in a safe environment, and our products are flawless when they reach their end-users.