The Automated Test Framework (ATF), introduced in Istanbul, enables you to create and run automated tests on your ServiceNow instance to ensure that it still works as designed after an upgrade. In Jakarta we've added several new features that give you more flexibility in how you test your instance.
What's new with the ATF in Jakarta?
To increase efficiency and performance times, screenshot mode preferences enable you to determine whether to capture screenshots for all steps, only for failed steps, or not to capture screenshots at all.
- Conveniently schedule an automated test suite to execute at a specified date and time.
- Notify designated users by email when a scheduled test suite finishes executing. The email contains information and links to more information for the scheduled suite run and the results of the test suite.
You can choose which browser to use for a scheduled client runner test.
- New tests and steps available:
- Improved evaluation of test results:
- Better understand test performance by inspecting transaction records for tests and test steps.
- Compare execution times across different runs of the same test or same test suite. You can compare execution times for different runs of an automated test or for different runs of the same automated test suite, or compare how many tests passed or failed across different test runs of the same test suite.
What's been improved?
The recorded_at field in the sys_atf_result_item and sys_atf_transaction_mtom tables supports the ability to view transaction data for automated test results.
Where can I find out more?
- Automated Test Framework release notes product documentation
- Automated Test Framework product documentation topic
- drjohnchun's series of articles on the Automated Test Framework, starting with Automated Test Framework Part 1: First Impression
- josh.nerius answers sbrecht's question about Using ATF on a record producer.
- kvamsikrishna describes the difference between Test Management and Automated Test Framework