{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1682,"path":"application-development/automated-test-framework-atf/atf-build-overview.md","title":"Building and running automated tests with the Automated Test Framework","bundle":null,"doc_type":null,"release":"australia","body":"\n# Building and running automated tests with the Automated Test Framework\n\nBasic tasks in the Automated Test Framework.\n\nTo build and run any test, you always perform certain operations:\n\n-   [Create a new automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-create-test.md)\n-   [Add steps to an automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-create-step.md)\n-   [Run an automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-run-test.md)\n-   [View the progress of automated tests](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-view-progress.md)\n-   [View test results and automated test results](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-view-results-consolidated.md)\n\nYou perform other operations often, but not necessarily for every test.\n\n-   For tests involving form steps, you might need to [View results screenshots from an automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-view-results-consolidated.md).\n-   For some tests, you might need to know about [Passing data from one automated test step to another](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-passing-data.md).\n-   Some steps frequently occur in the same sequence in many different tests, so you can [Add a predefined list of steps \\(template\\) to an automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-use-template.md).\n\n-   **[Create a new automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-create-test.md)**  \nCreate a named automated test containing a series of steps to execute.\n-   **[Copy automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-copy-test.md)**  \nCopy an existing test, which you can then re-name and modify.\n-   **[Run an automated test](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-run-test.md)**  \nAfter creating an automated test, run it on a non-production instance.\n-   **[Implementing breakpoints](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-breakpoints-rollback.md)**  \nBreakpoints allow you to pause your test at any step of a test run in order to troubleshoot and test authoring.\n-   **[View test results and automated test results](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-view-results-consolidated.md)**  \nView test results from completed test and test suite runs. Carefully consider the results of automated test runs and perform any corrective actions required to resolve any revealed issues.\n-   **[Identify and resolve client errors](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/identify-and-resolve-client-errors.md)**  \nIdentify client errors and resolve them in client-side scripts.\n-   **[UI test steps](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/ui-test-steps.md)**  \nTest user interfaces by mimicking user actions and interacting with the visible components of a page.\n-   **[Server test steps](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/server-test-steps.md)**  \nTest business logic and background processes by performing operations on the server.\n-   **[Attachment test steps](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/attachment-test-steps.md)**  \nTest an attachment-dependent business rule by uploading an attachment either from a form or from a server-side API call. For example, you can have a business rule that doesn't let you close an incident without an attachment such as a screenshot.\n-   **[List UI actions test steps](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-list-ui-actions-test-step.md)**  \nSelect a UI action from a list to perform different actions on a list or a related list.\n-   **[Parameterized tests](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/parameterized-tests.md)**  \nRun a test multiple times with different test data for each run. Create parameters to store test data for each test run.\n-   **[Allowed client errors](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/whitelisted-client-errors.md)**  \nAdd known client errors to the allowed client errors list to allow tests and steps to continue running when a specific error occurs. Set the report level to specify what the Automated Test Framework does when the error occurs in future tests.\n-   **[View the progress of automated tests](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-view-progress.md)**  \nWhen an automated test is running, view its progress in the Run Test progress dialog.\n-   **[Passing data from one automated test step to another](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-passing-data.md)**  \nSome automated test steps create data that you can use as an input to a subsequent step.\n\n**Parent Topic:**[Automated Test Framework \\(ATF\\) test building and execution](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-test-build-execution.md)\n\n**Related topics**  \n\n\n[Building and running automated test suites]()\n\n[Auto-generate ATF tests]()\n\n[Cancelling automated tests and test suites]()\n\n"}}