{"id":186,"date":"2015-03-14T19:04:50","date_gmt":"2015-03-14T19:04:50","guid":{"rendered":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/?p=186"},"modified":"2015-03-18T19:47:05","modified_gmt":"2015-03-18T19:47:05","slug":"crash-course","status":"publish","type":"post","link":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/crash-course\/","title":{"rendered":"Crash course for writing Test Objectives"},"content":{"rendered":"<h3>Crash course for writing Test Objectives<\/h3>\n<p>People have asked me many times how to get started writing <a title=\"#TestObjectives\" href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/category\/testobjectives\/\">#TestObjectives<\/a>\u00a0for Software Testing. Similarly the use of Test Objectives is often discussed, commonly it is indeed used in a\u00a0broader concept, for example as Test Objectives for Testing. It can also be seen as a chapter in a Test Plan of Test Strategy where\u00a0overall test objectives for testing are detailed.<\/p>\n<h4>Test Objectives for Test Strategy<\/h4>\n<p>One of the common software testing job interviewing questions is which one is prepared first, Test Strategy or Test Plan. Other variant of this is, which is the higher level document. To me it doesn&#8217;t really matter, commonly Test Strategy is seen as subsection within Test Plan but almost equally often it is a separate document. Different organisations use these terms differently, so just make sure you ask questions to understand how to document these and how these documents are\u00a0really used for.<\/p>\n<p>Assuming\u00a0that the Test Strategy document is understood as over arching document for test department or test\u00a0team,\u00a0then you should consider the main Test Objectives to be <strong>preventing defects<\/strong> and <strong>assuring that the end result does meet customer business and user requirements<\/strong>.<\/p>\n<h4>Test Objectives for Test Plan<\/h4>\n<p>Test Plan is one of the most common test team deliverable, and therefor it\u00a0is also very well documented on multitude of books, website and blogs. Similarly\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Software_test_documentation\" target=\"_blank\"><b>IEEE 829-2008<\/b><\/a> standard defines the usual layout and content of the software test plan in detail.\u00a0Test objectives for Test plan can range from very specific to broad statements, the reason for this is that the term &#8220;Test plan&#8221; is again used in many different ways depending which organisation you work for.<\/p>\n<p>The common test objectives for test plan are <strong>detecting software implementation deviations<\/strong> from requirements or from design specifications, which is just a fancy way of saying, <strong>finding\u00a0defects<\/strong>. Similarly a common test objective is<strong> to build confidence by providing statistical information about the level of quality<\/strong>.<\/p>\n<h4>Test Objectives for Test Phase<\/h4>\n<p>The test plan is usually split into different test phases or levels. You might have component level test\u00a0phase and system level test\u00a0phase which are the most common ones. Each test phase usually has\u00a0specific test objectives defined. These\u00a0test objectives are commonly expressed in a way of quality targets. \u00a0Quality targets can be measured in many ways, for example as number of test cases passed \/ failed, or number of defects found in each severity group. All these aim to quantify quality in some objective statistical terms. Test Objectives for test plan should define these quality targets.\u00a0The defect density is also a very common way to measure quality within a certain component or system. The defect density is measured by dividing the total number of confirmed defects with the size of the component. Size of the component is commonly measured as lines of codes or as function points.<\/p>\n<h4>Test Objectives for Common elements<\/h4>\n<p>When we continue to zoom in we start to get into area what this web site is really for,<strong>\u00a0tips for writing test objectives for common User Interface elements<\/strong>.\u00a0You will most of the time\u00a0have design specifications and\/or requirement specifications available that\u00a0are used to define the test scope in your test\u00a0strategy or test plan but when it comes to the common user interface (UI) elements those are not included or not described in detailed manner. For example common UI elements like date fields, password fields or even simply monetary value field, those usually do not have any\u00a0specific requirements. There can be high level statements like, <em>&#8220;Date should be valid&#8221; <\/em>but nothing more. This sounds OK initially, but when you really start to think about it, how do you define what is &#8220;valid&#8221;? When you ask that question from yourself, you are on the right track, because indeed there are multitude of different common test objectives\u00a0that end users expect to work, even if those are not captured in a requirement\u00a0or design specification.<\/p>\n<p>Check out the following example\u00a0Test Objectives for common UI elements:<\/p>\n<ul>\n<li>Test Objectives for <a title=\"Dates and Date Ranges\" href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/for-dates\/\">Dates and Date Range<\/a> fields<\/li>\n<li>Test Objectives for <a title=\"email Address\" href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/email-address\/\">Email Address<\/a>\u00a0field<\/li>\n<li>Test Objectives for <a title=\"Phone numbers\" href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/phone-numbers\/\">Phone number<\/a>\u00a0field<\/li>\n<li>Test Objectives for <a title=\"Currency\" href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/for-currencies\/\">Currency<\/a> field<\/li>\n<li>Test Objectives for <a title=\"Password\" href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/for-passwords\/\">Passwords<\/a>\u00a0fields<\/li>\n<li>Test Objectives for\u00a0<a title=\"Credit Cards\" href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/for-creditcards\/\">Credit Card<\/a> fields<\/li>\n<\/ul>\n<p>Alternatively you can download an ebook that includes all these Test Objectives and lot more.<br \/>\n<a href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/get_ebook\"><img loading=\"lazy\" class=\" size-full wp-image-273 alignleft\" src=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-content\/uploads\/2015\/03\/click_here.jpg\" alt=\"Click Here\" width=\"166\" height=\"46\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Crash course for writing software testing objectives, including Test Objectives for Test Strategy, Test Plans and different test phases. <\/p>\n","protected":false},"author":1,"featured_media":191,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[20,16,15,18,17],"_links":{"self":[{"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/posts\/186"}],"collection":[{"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":15,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":274,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/posts\/186\/revisions\/274"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/media\/191"}],"wp:attachment":[{"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}