Using the Automated Test Framework Flashcards

1
Q

Why is running ATF tests and suites disabled by default?
A. Tests and suites should only be run in production instances with real data.
B. Tests and suites should only be run in non-production instances.
C. Tests and suites need to be built before making testing active.
D. Tests need to be answered with number 2 pencils to be graded.
E. Tests and suites need to be tested in non-production instances before they are moved to production.

A

B. Tests and suites should only be run in non-production instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you run a test as a different user? More than one response may be correct.
A. Use the Create a User test step.
B. Use the Create and Impersonate User test step.
C. Impersonate the user before running the test.
D. Log in as the user before running the test.
E. Use the Impersonate test step.

A

A. Use the Create a User test step.

E. Use the Impersonate test step.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following describes a way to order test steps in a test? More than one response may be correct.
A. Set the Order field in the Test Steps related list.
B. Drag and drop the steps into the order to run.
C. Select where to insert the step when adding the step to the test.
D. Set the Execution order field in the Test Steps related list.
E. Steps need to be created in the order they run.

A

C. Select where to insert the step when adding the step to the test.
D. Set the Execution order field in the Test Steps related list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you use data from one step in a test in a later step?
A. Write a script to open the test step object to get the data to use in the later step.
B. Click the step in the Data Panel and select the data to use in the later step.
C. Create variables on the test and write scripts to populate the variables when the test executes.
D. Click the Reference button and select the record from the table.
E. Click the Data Pill Picker button and select the variable from the data pill picker.

A

E. Click the Data Pill Picker button and select the variable from the data pill picker.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of a Test Template?
A. A test template is a reusable set of test steps that are commonly used together to make test creation easier.
B. A test template is a set of reusable questions to make training knowledge checks easier to create.
C. A test template is a reusable test that can be run with different values to test with different data.
D. A test template is hierarchical grouping of related tests to run multiple tests together as a single job.
E. A test template is an ordered sequence of steps to test that automates testing in ServiceNow.

A

A. A test template is a reusable set of test steps that are commonly used together to make test creation easier.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False? Developers can assert the expected result from a test step so that when a record fails to insert, the test step is successful.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
Which of the following is the purpose of a test runner?
A. Execute client-side test steps
B. Execute server-side test steps
C. Execute tests on a schedule
D. Execute tests in a specific browser
E. Execute with different data
A

A. Execute client-side test steps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can a developer re-run only failed tests when a test suite runs? More than one response may be correct.
A. Fix the issue and click the Re-run Failed Tests button in the Test Suite Result record.
B. Fix the issue and run the test suite again.
C. Fix the issue, open the failed tests from the Test Suite Result record, and click the Re-run Test button.
D. Fix the issue and click the Re-run Failed Tests button in the Run Test Suite dialog.
E. Schedule the suite to run at a better time when all tests will succeed.

A

A. Fix the issue and click the Re-run Failed Tests button in the Test Suite Result record.

D. Fix the issue and click the Re-run Failed Tests button in the Run Test Suite dialog.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can a developer create test run data sets for parameterized tests? More than one response may be correct.
A. Link to a table and run the test for every record in a table.
B. Manually create parameter value sets.
C. Import a spreadsheet with the data.
D. Write a REST web service call to a data source.
E. Write a JavaScript to generate random data.

A

B. Manually create parameter value sets.

C. Import a spreadsheet with the data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following are true about scheduling in ATF? More than one response may be correct.
A. Scheduling allows tests to be scheduled to run at a specific date and time.
B. Schedules can be configured to test specific browsers and browser versions.
C. Schedules can be configured to test specific operating systems and operating system versions.
D. Schedules run at a configured frequency.
E. Schedules send results to a watch list of users after completion.

A

D. Schedules run at a configured frequency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly