How to Build a Reliable ServiceNow ATF Regression Suite
Use these ServiceNow ATF best practices to design stable regression tests, organize suites, manage test data, and catch upgrade defects before production.
Read guidePractical guides, useful scripts, and lessons from working with the platform. A little less figuring it out. A little more getting it done.
A targeted query is a good place to start.
// Only the records you need
var incidents = new GlideRecord('incident');
incidents.addQuery('active', true);
incidents.setLimit(10);
incidents.query();Read the query performance guide 
The notebook
Use these ServiceNow ATF best practices to design stable regression tests, organize suites, manage test data, and catch upgrade defects before production.
Read guideBuild secure, maintainable Scripted REST APIs in ServiceNow with proper authentication, input validation, error handling, pagination, and integration patterns used in production environments.
Read guideBuild reliable ServiceNow HRSD onboarding with lifecycle events, secure HR data, cross-department tasks, automation, and measurable outcomes.
Read guideThe script library
60 ServiceNow examples across client scripts, business rules, integrations, and more. Find a pattern, understand it, and adapt it to your instance.
Open the script libraryHave a ServiceNow question or a project in mind?