{"id":51642,"date":"2023-01-18T08:56:09","date_gmt":"2023-01-18T08:56:09","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=51642"},"modified":"2023-02-03T08:12:02","modified_gmt":"2023-02-03T08:12:02","slug":"test-editor","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/test-editor\/","title":{"rendered":"Test Editor"},"content":{"rendered":"<p>You can use the Test Editor to view the test cases and their metadata. This section explains the steps to access the test editor and use the available options:<\/p>\n<p><span style=\"font-weight: 400\"><\/p>\n<ol>\n<li>On the <strong>Conversation Testing<\/strong> page, click on any <strong>Test Suite<\/strong> to go to the <strong>Test Editor<\/strong>.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118085713\/TCE_1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118085713\/TCE_1.png\" alt=\"\" width=\"600\" height=\"371\" class=\"alignnone size-medium wp-image-51644\" \/><\/a><\/p>\n<li>In the <strong>Test Editor<\/strong>, the platform shows the validated chat along with its metadata and assertions for each test case.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090103\/TCE_2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090103\/TCE_2.png\" alt=\"\" width=\"600\" height=\"382\" class=\"alignnone size-medium wp-image-51648\" \/><\/a><\/p>\n<li>To see the details, choose a test case in the right side pane &#8211; <strong>Test Suite Details<\/strong>, or click the test case in the Validated Chat of the left pane.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090313\/TCE_3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090313\/TCE_3.png\" alt=\"\" width=\"600\" height=\"383\" class=\"alignnone size-medium wp-image-51651\" \/><\/a>\n<\/ol>\n<ul>\n<li>A test case consists of:<\/li>\n<ul>\n<li>One user input<\/li>\n<li>One or more VA responses for a user input<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090441\/TCE_4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090441\/TCE_4.png\" alt=\"\" width=\"455\" height=\"250\" class=\"alignnone size-medium wp-image-51654\" \/><\/a>\n<\/ul>\n<\/ul>\n<ol start=\"4\">\n<li>If the VA response is from a dialog intent, the following details are displayed:<\/li>\n<\/ol>\n<ul>\n<li>Intent name<\/li>\n<li>Node name<\/li>\n<p>&#8211; Error Prompt\/User Prompt for Entity node. For more information, see <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-entity-node\/#Component_Properties\" rel=\"noopener noreferrer\" target=\"_blank\">Entity Node<\/a>.<\/p>\n<li>Transitions<\/li>\n<li>User Input<\/li>\n<li>Expected Output<\/li>\n<ul>\n<li>All the variations of the node prompt are added as expected output<\/li>\n<li>If a node has more than one variation, then the OneOf operator is added by default<\/li>\n<\/ul>\n<\/ul>\n<table style=\"height: 18px;width: 100%;border-collapse: collapse;background-color: #fffbea\" border=\"1\">\n<tbody>\n<tr style=\"height: 18px\">\n<td style=\"width: 100%;height: 18px\"><strong><em>Note<\/em><\/strong><em><span style=\"font-weight: 400\">: The <strong>OneOf<\/strong> operator is used to test randomization scenarios where a node can have multiple bot responses. For any node in which multiple responses are configured, the operator is activated by default. If one of the multiple responses is obtained from the VA during the test execution, then the assertion will be passed.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090920\/oneof.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118090920\/oneof.png\" alt=\"\" width=\"400\" height=\"216\" class=\"alignnone size-medium wp-image-51658\" \/><\/a><br \/>\nYou can add dynamic texts by annotating a section of the expected output. To know more information, see <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/test-case-assertion\/#Dynamic_Text_Marking\" rel=\"noopener noreferrer\" target=\"_blank\">Dynamic Text Marking<\/a>.<\/p>\n<p>Flow and Text Assertions are added by default for all responses from dialog nodes. <\/p>\n<ol start=\"5\">\n<li>If the VA response is from <strong>FAQ\/Small Talk\/Standard Responses<\/strong>, the following details are captured:<\/li>\n<\/ol>\n<ul>\n<li>Intent Name (FAQ Name, Small Talk Pattern, Standard Response)<\/li>\n<li>User Input<\/li>\n<li>Expected Output: It has the same details displayed as in Dialog Intent.<\/li>\n<li>Assertions<\/li>\n<ul>\n<li>Flow (Enabled by default)<\/li>\n<li>Text (Enabled by default)<\/li>\n<li>Context<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118093447\/FAQ_CTE.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118093447\/FAQ_CTE.png\" alt=\"\" width=\"500\" height=\"338\" class=\"alignnone size-medium wp-image-51663\" \/><\/a><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118093544\/SMallTalk_CTE.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118093544\/SMallTalk_CTE.png\" alt=\"\" width=\"500\" height=\"311\" class=\"alignnone size-medium wp-image-51666\" \/><\/a>\n<\/ul>\n<\/ul>\n<table style=\"height: 18px;width: 100%;border-collapse: collapse;background-color: #fffbea\" border=\"1\">\n<tbody>\n<tr style=\"height: 18px\">\n<td style=\"width: 100%;height: 18px\"><strong><em>Note<\/em><\/strong><em><span style=\"font-weight: 400\">: To understand more about assertions, see <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/test-case-assertion\/\" rel=\"noopener noreferrer\" target=\"_blank\">Test Case Assertion<\/a>.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol start=\"6\">\n<li>You can export the entire test suite to your local directory as a <strong>JSON<\/strong> file. The downloaded test suites include the user inputs and VA responses.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118103513\/TSClone.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230118103513\/TSClone.png\" alt=\"\" width=\"600\" height=\"327\" class=\"alignnone size-medium wp-image-51677\" \/><\/a>\n<\/ol>\n<table style=\"height: 18px;width: 100%;border-collapse: collapse;background-color: #fffbea\" border=\"1\">\n<tbody>\n<tr style=\"height: 18px\">\n<td style=\"width: 100%;height: 18px\"><strong><em>Note<\/em><\/strong><em><span style=\"font-weight: 400\">: You can also clone the test suite or delete it as per the requirement.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>You can use the Test Editor to view the test cases and their metadata. This section explains the steps to access the test editor and use the available options: On the Conversation Testing page, click on any Test Suite to go to the Test Editor. In the Test Editor, the platform shows the validated chat&#8230;<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":["post-51642","post","type-post","status-publish","format-standard","hentry","category-test-your-bot"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/51642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=51642"}],"version-history":[{"count":12,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/51642\/revisions"}],"predecessor-version":[{"id":53660,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/51642\/revisions\/53660"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=51642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=51642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=51642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}