Create an automated test in Assistant Designer Asset library
On this page
Create an automated test in Assistant Designer Asset library
Create 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.
Before you begin
Plugin required: com.glide.cs.atf.
Role required: atf_test_designer, atf_ws_designer, atf_test_admin, virtual_agent_admin, or admin
About this task
As you work on a published topic, setup topic, or small talk topic, select Test on the header bar to run your conversation in a chat test window. The default test window is the web (Service Portal) chat client. Use the Create test case button to create a test case and save the test case in the Automated Test Framework.
Note: You can find a list of NLU/Keyword test cases by selecting the Manage NLU/Keyword test cases toggle switch on the Assistant Designer Asset library page. Automated tests are also listed on the Automated Test Framework (ATF) Tests [sys_atf_test] table. For more information on managing NLU/Keyword test cases, see Manage and run automated test cases in Assistant Designer Asset library
Procedure
-
Navigate to All > Conversational Interfaces > Assistant Designer.
-
Select the Asset library tab.
-
Set the discovery type toggle switch to NLU/keyword.
-
Select a published topic.
-
In the topic's header bar, select Test.
-
In the topic testing window, select Create test case.
Note: The Create test case button is only available for published topics that are non-read only with one of the following topic types: Topic, Setup Topic, or Small talk.
The topic's test client restarts and the test case begins to capture your ideal conversation. While capturing your test case, the Include Topic Discovery and the Context tabs are unavailable.
-
Enter the conversational flow that you want to capture and test.
Tip: Select Restart at any time to restart the topic conversation and test case capture.
-
Select Stop.
The Test case name field displays the topic's name along with the date and timestamp. For example:
[Topic name] 3/28/2022, 3:32:19 PM. -
Perform one of the following actions.
Parent Topic:Automated testing for Virtual Agent topics that use NLU topic discovery
Keep exploring.
Find another answer, or bring this documentation into your own tools.