Automated Test Framework release notes
The ServiceNow® Automated Test Framework enables you to create and run automated tests to confirm that your modified instance works after an upgrade, during application development, or when deploying instance configurations with update sets. Review failed test results to identify the changes that caused the failure and the changes that you should review. Automated Test Framework was enhanced and updated in the Yokohama release.
Automated Test Framework highlights for the Yokohama release
- Reduce upgrade and development time by replacing manual testing with automated testing.
- Design tests once and reuse them in different contexts and with different test data sets.
- Keep test instances clean by rolling back test data and changes made after each test run.
- Create and schedule test suites to organize and run tests in batches.
- Reduce test design time by copying quick start tests and test suites. You can also create custom test steps to expand test coverage.
See for more information.
Important information for upgrading Automated Test Framework to Yokohama
Copy and customize quick start tests provided by the ServiceNow AI Platform® to validate that your instance works after you make any configuration changes. For example, if you apply an upgrade or develop an application.
The tests can produce a pass result only when you run them on a base system without any customizations and with the default demo data that is provided with the application or feature plugin. To apply a quick start test to your instance-specific data, copy the quick start test and add your custom data. For more information, see .
New in the Yokohama release
- Reduce duplication of tests while invoked in several other tests by creating reusable tests, enabling test design to be more modular, reducing the effort and time while duplicating tests to manage a large number of tests across your instance. You can access the reusable tests from the new Reusable Test test step category. Use the Reusable Input Variables and Reusable Output Variables related lists to define data passing from one test step to another.
- Reuse the test records created in the Reusable Test table from the new Reusable Test test step category. By default, the test records show up in the Reusable Test test step category, unless you define the record in a custom category in the Category field.
Activation information
To use the quick start tests for an application, activate the plugin that is associated with the application. For more information, see .
Set the sn_atf.runner.enabled property to True to activate the content pack for the ATF Test Generator and Cloud Runner store application.
Browser requirements
Automated Test Framework supports running tests only from desktop browsers. You can't run tests or test suites from tablets, mobile browsers, or the mobile UI. Some desktop browsers require additional configuration. For more information, see .
Automated Test Framework offers limited support for test design on tablets. You can't add new custom UI test steps from tablets because tablets can't retrieve components. Review any existing custom UI test steps that were added from a desktop browser instead.