{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4804,"path":"conversational-interfaces/virtual-agent/automated-testing-va-topics.md","title":"Automated testing for Virtual Agent topics that use NLU topic discovery","bundle":null,"doc_type":null,"release":"australia","body":"\n# Automated testing for Virtual Agent topics that use NLU topic discovery\n\nAutomated testing for your Virtual Agent topic flows uses the ServiceNow Automated Test Framework product through Assistant Designer. You can create and run automated tests through the Automated Test Framework to confirm that your topic flow works after making a change.\n\nCreate topic test cases through a topic's **Test** &gt; **Create test case** preview and view the topic's test cases through the Asset library's **Manage NLU/keyword test cases** button. Only run automated tests on a development, test, or other non-production instance to avoid data corruption and outage. For more information, see the [Automated Test Framework](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/application-development/automated-test-framework.md).\n\nWorking with test cases is only available if you have:\n\n-   Installed the com.glide.cs.atf plugin \\(installed as a part of the Virtual Agent chatbot plugin\\).\n-   Received one of the following roles: atf\\_test\\_designer, atf\\_ws\\_designer, atf\\_test\\_admin, virtual\\_agent\\_admin, or admin.\n-   Published topics with one of the following topic types: **Topic**, **Setup Topic**, or **Small talk**.\n\n-   **[Create an automated test in Assistant Designer Asset library](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/create-automated-test-vad.md)**  \nCreate automated tests in Assistant Designer Asset library, and run tests regularly against ideal conversation topic flows. You can create multiple automated tests for a topic to capture different conversation flows for various situations such as ideal conversation paths or errors.\n-   **[Manage and run automated test cases in Assistant Designer Asset library](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/manage-automated-test-cases.md)**  \nRun reusable test cases of your published topics using the Automated Test Framework through Assistant Designer Asset library to identify performance issues and prevent regressions before production.\n-   **[Handle failures caused by dynamic inputs in user testing of Virtual Agent topics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/t_handle-dynamic-inputs-user-testing.md)**  \nAvoid failures when performing automated tests for topics in Assistant Designer by controlling which inputs that you want to run as part of a test case.\n\n**Parent Topic:**[Testing NLU/Keyword topics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/va-designer-testing.md)\n\n"}}