can a ATF be developed in a scoped application

theiser
Tera Expert

i thought I had heard that ATFs should be developed in the global scope but I can’t find any documentation. I do see that our company has created some in a scope. I ask because delegated developers can’t create a new global update set and therefor can’t create a new test unless it is scoped. What is the preferred method? Are there certain test step activities that can't be used in a scope?

3 REPLIES 3

Brad Tilton
ServiceNow Employee
ServiceNow Employee

ATF should work fine in a scoped app. I don't think there are any differences in capabilities whether you're in a private or the global scope.

Aaron Munoz
Tera Guru

The Quick Start tests available on the Madrid release are inside a scoped application, so you can create custom tests outside the global scope.As a general rule, create your tests in the same scope as the table you are testing. Just keep in mind there could be access issues if your test involves objects from multiple scopes, though this is relevant mostly to select the user for impersonation during your tests.

Dan Covic2
Tera Contributor

Important note: the ATF tests are not captured in the Studio IDE nor in the App Engine Studio. They are only captured in the default scope of the scoped app or any other scoped update set that you have created specifically for implementing ATF tests. So, if you're working with a CICD pipeline (application repository) you should not worry about manually moving/migrating the ATF tests that were implemented in the default scoped update set or any other specific scoped update set (with respect to creating ATF tests) to another sub-instance. The ATF tests in the scoped update set would be automatically moved to another instance like with other app files in the scoped app.