{"id":43236,"date":"2018-08-20T06:24:35","date_gmt":"2018-08-20T13:24:35","guid":{"rendered":"http:\/\/www.technosolutions.com\/kb\/?p=43236"},"modified":"2019-02-19T03:13:53","modified_gmt":"2019-02-19T11:13:53","slug":"generating-test-cases-from-user-stories-using-wizard","status":"publish","type":"post","link":"http:\/\/www.technosolutions.com\/kb\/43236\/generating-test-cases-from-user-stories-using-wizard\/","title":{"rendered":"Generating Test Cases from User Stories using wizard"},"content":{"rendered":"<p><!-- Start ScreenSteps Content --><\/p>\n<div class=\"LessonContent\">\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Overview<\/h3>\n<div class=\"StepInstructions\">\n<p>You can generate <i>Test Cases<\/i> from <i>User Stories<\/i> using a wizard<i>. <\/i>For this, you should provide input to the <i>Acceptance Criteria<\/i> of a<i> User Story <\/i>in the<i> <\/i>form of <i>Scenario,<\/i> <i>Given, When <\/i>and <i>Then<\/i>.<br \/>\nYou can also add multiple <i>Scenarios<\/i> in a single <i>User Story<\/i>.<\/p>\n<p><strong>NOTE:<\/strong> <strong>The number of <i>Scenarios <\/i>in a <i>User Story <\/i>will be equal to the number of <i>Test Cases<\/i> generated for that <i>User Story<\/i>.<\/strong><\/p>\n<p>Following is the significance of text entered in the <i>Acceptance Criteria<\/i> of a <i>User Story<\/i>: <\/p>\n<ul>\n<li>Text entered for <strong>Scenario <\/strong>will be considered as<strong> Title <\/strong>for the corresponding <i>Test Case<\/i>.<\/li>\n<li>Text entered for <strong>Given <\/strong>will be considered as<strong> Pre Condition <\/strong>for the corresponding <i>Test Case<\/i>.<\/li>\n<li>Text entered for <strong>When<\/strong> and <strong>Then <\/strong>will be considered as <strong>Steps<\/strong> for the corresponding <i>Test Case<\/i>,<i> <\/i>where <strong>When <\/strong>signifies<strong> Actions <\/strong>and<strong> Then <\/strong>signifies<strong> Expected Result <\/strong>of that <i>Test Case<\/i>.<\/li>\n<\/ul>\n<p>You can add multiple sentences in <i>Scenario,<\/i> <i>Given, When <\/i>and <i>Then<\/i>. <\/p>\n<p>This article explains the steps to generate<i> Test Cases<\/i> from <i>User Stories<\/i> using <i>Generate Test Cases from User Stories Wizard<\/i>.<\/p>\n<\/div><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Who should read this?<\/h3>\n<div class=\"StepInstructions\">\n<ul>\n<li>TopTeam Users<\/li>\n<\/ul>\n<\/div><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 1. Opening Generate Test Cases from User Stories Wizard<\/h3>\n<\/p><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">1.1. From TopTeam main menu<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531202898515.png\" width=\"779\" height=\"502\" alt=\"media_1531202898515.png\" \/>\n<\/div>\n<div class=\"StepInstructions\">\n<p><strong>NOTE: You can use this method when you want to generate <i>Test Cases <\/i>for multiple <i>User Stories<\/i> of a specified Project.<\/strong><\/p>\n<\/div><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">1.2. From the Detail Editor of a User Story<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531287775491.png\" width=\"800\" height=\"488\" alt=\"media_1531287775491.png\" \/>\n<\/div>\n<div class=\"StepInstructions\">\n<p><strong>NOTE: It is recommended that you use this method to generate <i>Test Case(s)<\/i> for a single <i>User Story<\/i>.<\/strong><\/p>\n<\/div><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 2. Generate Test Cases from User Stories Wizard opens<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531203214485.png\" width=\"800\" height=\"596\" alt=\"media_1531203214485.png\" \/>\n<\/div>\n<\/p><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 3. Select a Project that contains User Stories from which Test Cases are to be generated<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531204642902.png\" width=\"800\" height=\"596\" alt=\"media_1531204642902.png\" \/>\n<\/div>\n<\/p><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 4. Select User Stories for which you want to generate Test Cases<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531291481376.png\" width=\"800\" height=\"582\" alt=\"media_1531291481376.png\" \/>\n<\/div>\n<\/p><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 5. Review Test Cases to be generated<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531288451982.png\" width=\"800\" height=\"451\" alt=\"media_1531288451982.png\" \/>\n<\/div>\n<div class=\"StepInstructions\">\n<p><strong>NOTE: You can edit text in all the fields on this page. You can unselect <i>User Story(ies)<\/i> if you do NOT want to generate <i>Test Case(s)<\/i>.<\/strong><\/p>\n<\/div><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 6. Select a destination folder where you want to add the Test Case(s) <\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531218348294.png\" width=\"800\" height=\"596\" alt=\"media_1531218348294.png\" \/>\n<\/div>\n<\/p><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 7. Summary of all proposed Test Cases displays<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531218579162.png\" width=\"800\" height=\"596\" alt=\"media_1531218579162.png\" \/>\n<\/div>\n<\/p><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Step 8. Generated Test Cases along with the created folder displays<\/h3>\n<div class=\"StepImage\" style=\"margin:10px 0px;\">\n<img loading=\"lazy\" decoding=\"async\" style=\"padding:3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2019\/02\/media_1531289902002.png\" width=\"800\" height=\"392\" alt=\"media_1531289902002.png\" \/>\n<\/div>\n<\/p><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">Related Articles<\/h3>\n<div class=\"StepInstructions\">\n<p><a href=\"http:\/\/www.technosolutions.com\/kb\/30310\/getting-started-with-testing-in-topteam\/\" target=\"_blank\">Test Management in TopTeam<\/a><br \/>\n<a href=\"http:\/\/www.technosolutions.com\/kb\/3305\/using-test-case-editor\/\" target=\"_blank\">Using Test Case Editor<\/a><\/p>\n<\/div><\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size:20px;\">See Also<\/h3>\n<div class=\"StepInstructions\">\n<p><a href=\"http:\/\/www.technosolutions.com\/kb\/24427\/how-to-generate-test-cases-from-use-cases\/\" target=\"_blank\">How to generate Test Cases from Use Cases<\/a><\/p>\n<\/div><\/div>\n<div class=\"LessonStep top\">\n<div class=\"StepInstructions\">\n<p>Revised: February 19th, 2019<\/p>\n<\/div><\/div>\n<\/p><\/div>\n<p><!-- End ScreenSteps Content --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview You can generate Test Cases from User Stories using a wizard. For this, you should provide input to the Acceptance Criteria of a User Story in the form of Scenario, Given, When and Then. You can also add multiple Scenarios in a single User Story. NOTE: The number of Scenarios in a User Story will be equal to the number of Test Cases generated for that User Story. Following is the significance of text entered in the Acceptance Criteria of a User Story: Text entered for Scenario will be considered as Title for the corresponding Test Case. Text entered <\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[183,329],"class_list":["post-43236","post","type-post","status-publish","format-standard","hentry","category-test-management","tag-test-cases","tag-user-stories"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paoaNA-bfm","_links":{"self":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/43236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/comments?post=43236"}],"version-history":[{"count":3,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/43236\/revisions"}],"predecessor-version":[{"id":47183,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/43236\/revisions\/47183"}],"wp:attachment":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/media?parent=43236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/categories?post=43236"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/tags?post=43236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}