nerdexam
ServiceNow

CAD · Question #259

Which ATF test step is used to set up a specific user profile for testing purposes?

The correct answer is A. Impersonation. The 'Impersonation' test step in Automated Test Framework (ATF) allows a test to run subsequent steps as a specific user, simulating that user's roles, groups, and permissions. This is essential for testing role-based behavior and access control. 'Create a user' (C) creates a…

Submitted by yousef_jo· Apr 18, 2026Application Automation

Question

Which ATF test step is used to set up a specific user profile for testing purposes?

Options

  • AImpersonation
  • BCreate a role
  • CCreate a user
  • DCreate a group

How the community answered

(27 responses)
  • A
    89% (24)
  • C
    7% (2)
  • D
    4% (1)

Explanation

The 'Impersonation' test step in Automated Test Framework (ATF) allows a test to run subsequent steps as a specific user, simulating that user's roles, groups, and permissions. This is essential for testing role-based behavior and access control. 'Create a user' (C) creates a new user record but does not switch the test execution context to that user. 'Create a role' (B) and 'Create a group' (D) are setup steps for permission structures, not for adopting a user's profile during test execution.

Topics

#ATF#Automated Testing#Impersonation#Test Steps

Community Discussion

No community discussion yet for this question.

Full CAD Practice