Automated Test Framework Is Here, Now What?
ServiceNow’s Automated Test Framework (ATF) was released in Istanbul, and it’s a good solution for those looking to test forms within the ServiceNow platform. In this blog, we’ll present its advantages, its limitations, and what to do if you need to test more than forms within ServiceNow.
Advantages of ATF
ATF allows you to accelerate applications into production due to reduced test time. You can test forms by creating tests that mimic user actions with no scripting, like opening a form, setting and validating field values, or submitting a form. ATF can also take input variables and return output variables that you define when you set up custom steps. The framework provides batch, hierarchical and nested suites testing, and allows for fully automated tracking of all testing, which removes test data and eliminates the need to roll back changes.
This may be just the amount of functionality that you need if you are looking to automate testing for version updates of ServiceNow or other small scale projects. However, if you are looking to test development that affects notifications, service catalog, or more, ATF is not currently set up to do that.
ATF executes tests in a local browser. However, if you’re looking to do more advanced testing then an external solution is strongly recommended. This is because a testing solution that executes tests externally can validate the system independent of the system itself. Another major drawback with ATF is that it’s primarily designed to test forms, so if you’re looking to test other modules such as notifications or your Service Portal, you’ll need a more advanced solution.
The Automated Test Framework also requires some level of attention while the tests are being run. This is not a major drawback, but may take some users by surprise. Instead of running a suite of tests in succession, it may require you to manually run the next test once the current test has completed. This is similar to doing your laundry, but you’d also have to come back to the machine to run the next stage, such as soak, rinse, spin, drain, etc.
For Those Looking to Do More
For those looking for a testing tool that encompasses a broader set of ServiceNow features than forms, there is a solution. CapIO is an automated testing platform built to test your entire ServiceNow instance. CapIO catches errors immediately throughout the development process as they occur anywhere in the system, and allows for logging of all changes that are made in order to pinpoint where the errors began.
CapIO can test:
CapIO has over 300 prebuilt commands to help you get up and running quickly and gives users a new level of best practices in testing and development. This means more accurate testing in a fraction of the time. CapIO’s recording feature also makes it easy for anyone on your team to run tests, regardless of their level of coding experience. Another benefit of CapIO is that tests can be run unattended, so you can run end to end test suites without the need for manual supervision. With CapIO, you have the ability to run tests in multiple environments, saving you time on your overall testing efforts.