{"id":20930,"date":"2017-09-15T11:14:57","date_gmt":"2017-09-15T11:14:57","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=20930"},"modified":"2025-08-04T17:07:21","modified_gmt":"2025-08-04T17:07:21","slug":"sample-pencil-actors-and-user-stories","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/sample-pencil-actors-and-user-stories\/","title":{"rendered":"Sample Pencil Actors and User Stories"},"content":{"rendered":"<h1>Sample Pencil Actors and User Stories<\/h1>\n<p>This post is related to writing Test cases for a Pencil. Understanding the system actors and User stories would help to understand the system better and write effective test cases for the system under test.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/questions\/how-to-write-test-cases-for-pencil\/\">https:\/\/www.testingdocs.com\/questions\/how-to-write-test-cases-for-pencil\/<\/a><\/li>\n<\/ul>\n<h2>Sample Actors and User Stories<\/h2>\n<p>Feel free, to ask questions like:<\/p>\n<ul>\n<li>Who is going to use the system( pencil ?)<\/li>\n<li>What is the intended purpose of the system?<\/li>\n<li>What are the business goals?<\/li>\n<li>Why would the user use the system?<\/li>\n<\/ul>\n<p>Identify the actors of the system. Primary actors of the system are the users who use the system to achieve some business goal. A <strong>Student<\/strong> might use the pencil for writing on a paper. A <strong>Cartoonist<\/strong> needs various pencils of colors, hardness to draw a picture and shades. However, a <strong>Carpenter<\/strong> might be using a pencil as a wood markers to mark wood. For many actors the main use case is writing or drawing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20229\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Test-Cases.png\" alt=\"Pencil Test Cases\" width=\"1501\" height=\"783\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Test-Cases.png 1501w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Test-Cases-300x156.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Test-Cases-1024x534.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Test-Cases-768x401.png 768w\" sizes=\"auto, (max-width: 1501px) 100vw, 1501px\" \/><\/p>\n<p>What if there are no requirements for the Pencil. Identify the main intended purpose of the system. What is the main use cases of the system by the <strong>actors<\/strong>. What are the user stories?<\/p>\n<h3>User Stories<\/h3>\n<p>User story is simple informal description of the product feature or system interaction from the end user perspective. For example, a Student user story of the Pencil<\/p>\n<pre>As a <strong>Student<\/strong>\u00a0\r\nGiven <strong>2HB Pencil<\/strong>, <strong>OMR Sheet<\/strong>, <strong>Question Paper<\/strong> \r\nI want to <strong>Bubble<\/strong> the Answers with <strong>Pencil<\/strong>\r\nSo that I can <strong>Pass\/Qualify<\/strong> the <strong>Entrance Examination <\/strong><\/pre>\n<p>Explanation<\/p>\n<p>As a <strong>&lt;Student&gt;<\/strong> -&gt; Actor and Role<br \/>\nGiven 2HB Pencil, OMR Sheet, Question Paper<br \/>\nI want to &lt;<strong>Bubble the Answers with Pencil<\/strong>&gt; -&gt; User Action<br \/>\nSo that &lt; <strong>I can quality the Entrance Exam<\/strong>&gt; -&gt; User Business Goal<\/p>\n<p>The business goals may vary from actor to actor of the same system.<\/p>\n<h3>Sample Use case diagram<\/h3>\n<p>Sample Use case diagram of how the actors of the system interact or use the system.\u00a0For example, A <strong>Student<\/strong> might use the <strong>Pencil<\/strong> to mark bubbles in an OMR sheet to qualify his\/her entrance examination.<\/p>\n<p>&nbsp;<\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20234\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Use-Cases.png\" alt=\"Pencil Use Cases\" width=\"1665\" height=\"876\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Use-Cases.png 1665w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Use-Cases-300x158.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Use-Cases-1024x539.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Use-Cases-768x404.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Pencil-Use-Cases-1536x808.png 1536w\" sizes=\"auto, (max-width: 1665px) 100vw, 1665px\" \/><\/h3>\n<p>&nbsp;<\/p>\n<h3><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Sample Pencil Actors and User Stories This post is related to writing Test cases for a Pencil. Understanding the system actors and User stories would help to understand the system better and write effective test cases for the system under test. https:\/\/www.testingdocs.com\/questions\/how-to-write-test-cases-for-pencil\/ Sample Actors and User Stories Feel free, to ask questions like: Who is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[],"class_list":["post-20930","post","type-post","status-publish","format-standard","hentry","category-testing-questions","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/20930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=20930"}],"version-history":[{"count":12,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/20930\/revisions"}],"predecessor-version":[{"id":27770,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/20930\/revisions\/27770"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=20930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=20930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=20930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}