Which statement is true about running tests under alternate user identities in tests?

Master the ServiceNow CAD exam with our study tools. Use Flashcards and multiple choice questions, complete with hints and explanations to ace your exam!

Multiple Choice

Which statement is true about running tests under alternate user identities in tests?

Explanation:
To test actions under a different user, you need to establish a real test user and then switch the session to that user. In ATF this is done by first using a Create User step to set up the account, followed by an Impersonate step to run subsequent steps as that user. This two-step sequence is necessary because impersonation must reference an existing user, so it can’t be accomplished in a single step. ATF provides these steps natively, so there’s no need for external tooling.

To test actions under a different user, you need to establish a real test user and then switch the session to that user. In ATF this is done by first using a Create User step to set up the account, followed by an Impersonate step to run subsequent steps as that user. This two-step sequence is necessary because impersonation must reference an existing user, so it can’t be accomplished in a single step. ATF provides these steps natively, so there’s no need for external tooling.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy