Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Run an automated test

Log in to subscribe to topics and get notified when content changes.

Run an automated test

After creating an automated test, run it on a non-production instance.

Before you begin

You must have created the test you want to run.
The test execution property must be enabled. You must have an admin or atf_test_admin role to do so.
Note: The test execution property is disabled by default to prevent running tests on a production system. Run tests only on development, test, and other sub-production instances.

Role required: atf_test_admin, atf_test_designer, or admin

Procedure

  1. Navigate to Automated Test Framework > Tests.
  2. If necessary to view the tests list, click Tests.
  3. Click the row containing the test you want to run.
    The system displays the Test form.
  4. Click Run Test.
    Note: If the test execution property is not enabled, the Run Test button does not appear. In this case, see the annotation at the top of the form, and click the link to enable running tests.
  5. If the test includes a form step (any step involving a UI), or other kinds of UI test steps, the Pick a browser dialog appears before executing the tests. Use it to choose among any currently running test clients, or start a new runner. For more information, review Browser recommendations for all tests and suites.
    If the test only includes server test steps, the system executes the tests without displaying the Pick a Browser dialog.

What to do next

Monitor the progress of the test in the Run Test progress dialog. When complete, click Go to Results (on the Run Test progress dialog) to display the Test Results list, where you can view and analyze test results.
Note: If your test creates data, the system rolls back that data after all steps in the test complete.
Feedback