nerdexam
ServiceNow

CAD · Question #73

Which ATF Test step allows you to create a user with specified roles and groups for the test?

The correct answer is A. Create a user. In ServiceNow's Automated Test Framework (ATF), the 'Create a user' test step generates a temporary test user with a specified set of roles and group memberships scoped to that test run. This allows tests to simulate access scenarios without relying on pre-existing user accounts.

Submitted by deeparc· Apr 18, 2026Application Automation

Question

Which ATF Test step allows you to create a user with specified roles and groups for the test?

Options

  • ACreate a user
  • BCreate a role
  • CCreate a group
  • DImpersonation

How the community answered

(38 responses)
  • A
    87% (33)
  • B
    8% (3)
  • C
    3% (1)
  • D
    3% (1)

Explanation

In ServiceNow's Automated Test Framework (ATF), the 'Create a user' test step generates a temporary test user with a specified set of roles and group memberships scoped to that test run. This allows tests to simulate access scenarios without relying on pre-existing user accounts. 'Impersonation' (Choice D) switches context to an existing user but does not create one. There are no standalone 'Create a role' or 'Create a group' ATF test steps for this purpose.

Topics

#ATF#Test Steps#User Creation#Automated Testing

Community Discussion

No community discussion yet for this question.

Full CAD Practice