{"id":75,"date":"2015-02-27T20:50:51","date_gmt":"2015-02-27T20:50:51","guid":{"rendered":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/?p=75"},"modified":"2015-03-18T20:12:20","modified_gmt":"2015-03-18T20:12:20","slug":"phone-numbers","status":"publish","type":"post","link":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/phone-numbers\/","title":{"rendered":"Test Objectives for Phone numbers"},"content":{"rendered":"<p>Hello again,<br \/>\nThe one element that is common to most registration systems is a phone number.<br \/>\nNow a days most of the people have mobile phone number so registers take benefit from it.<br \/>\n..So no matter if you register for your local video rental shop or for a gym, they all will ask for phone number.<\/p>\n<p>Ok, so we&#8217;ve established that phone numbers are common elements in broad range of systems, so its also frequent element that needs to be tested by software testers around the world. When testing phone numbers commonly you find requirement statements indicating that <em>phone number must be valid<\/em>. But what does it actually mean, what are the common test objectives for testing phone numbers.<\/p>\n<p>The following list includes tips for writing test objectives for software testers needing to test Phone Numbers.<\/p>\n<table width=\"491\">\n<tbody>\n<tr>\n<td width=\"83\"><b>G<\/b><b>roup<\/b><\/td>\n<td width=\"408\"><b>Test Objective<\/b><\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">123456<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">1234567<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">12345678<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">123456789<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">1234567890<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">12345678901<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">123456789012<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">1234567890123<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">12345678901234<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">123456789012345<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">44 123456789<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">44 (12) 3456789<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">+44 123456789<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">+44 (12) 3456789<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">(044) 123 456 7890<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">031-123-4567<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">01-23-45-67-89<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">(12) 345.67.89<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">(123) 555-1234<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">(012) 34-5678<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">+44 123456789<\/td>\n<\/tr>\n<tr>\n<td width=\"83\">valid<\/td>\n<td width=\"408\">+44 (12) 3456789<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>And that list just few to get started, technically you could test all different country codes.<br \/>\nYou can use the above to test if the System Under Test (SUT) has validation for country code, if yes then you have plenty more to test. Specially check those few that are discontinued now a days, for example:\u00a0+969 or\u00a0+671.<\/p>\n<p>What do you think, can you list out patterns for invalid phone numbers that would pass the common number validation?<br \/>\nComment below.<\/p>\n<p>Do you need more information?<br \/>\n<a href=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/get_more_info\"><img loading=\"lazy\" class=\"alignleft size-full wp-image-286\" src=\"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-content\/uploads\/2015\/02\/cmd_get_more_info.jpg\" alt=\"Download eBook\" width=\"199\" height=\"46\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tips for writing test objectives for test plan, test strategy or just for test cases can be tricky. Find the list here for common test objectives. #TestObjectives<\/p>\n","protected":false},"author":1,"featured_media":249,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[20,11,7],"_links":{"self":[{"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/posts\/75"}],"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=75"}],"version-history":[{"count":11,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":287,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/posts\/75\/revisions\/287"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/media\/249"}],"wp:attachment":[{"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mytipsfor.com\/writing\/testobjectives\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}