ExamGecko
Question list
Search
Search

Question 104 - CAD discussion

Report
Export

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

A.
Create a user
Answers
A.
Create a user
B.
Create a role
Answers
B.
Create a role
C.
Create a group
Answers
C.
Create a group
D.
Impersonation
Answers
D.
Impersonation
Suggested answer: A

Explanation:

The Automated Test Framework (ATF) is a tool that allows you to create and run automated tests on the ServiceNow platform. The ATF uses test steps to define the actions and validations for each test. The test step that allows you to create a user with specified roles and groups for the test is the Create a user test step. This test step creates a temporary user record that is deleted at the end of the test. You can specify the user name, password, roles, and groups for the user. You can also use the Impersonate a user test step to switch to the created user and perform actions as that user.

The other options are not valid test steps for creating a user. The Create a role and Create a group test steps do not exist in the ATF. To create a role or a group, you need to use the Create a record test step and specify the sys_user_role or sys_user_group table. The Impersonation test step does not create a user, but switches to an existing user.

References:

[Automated Test Framework overview]

[Automated Test Framework test steps]

[Create a user test step]

[Impersonate a user test step]

asked 23/09/2024
OLUWAGBENRO AFUWAPE
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first