Automated testing for your Virtual Agent topic flows uses the ServiceNow Automated Test Framework product through Virtual Agent Designer. You can create and run automated tests through the Automated Test Framework to confirm that your topic flow works after making a change.

Create topic test cases through a topic's Test > Create test case preview and view the topic's test cases through the Topics List page's Manage 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.

Working with test cases is only available if you have:

  • Installed the com.glide.cs.atf plugin (installed as a part of the Virtual Agent chatbot plugin).
  • Received one of the following roles: atf_test_designer, atf_ws_designer, atf_test_admin, virtual_agent_admin, or admin.
  • Published topics with one of the following topic types: Topic, Setup Topic, or Small talk.