<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":911,"date":"2021-07-18T18:02:09","date_gmt":"2021-07-18T18:02:09","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=911"},"modified":"2021-09-09T10:32:20","modified_gmt":"2021-09-09T10:32:20","slug":"what-is-meant-by-preconditions-and-postconditions-in-a-test-case","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/","title":{"rendered":"What is meant by preconditions and postconditions in a Test Case ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"preconditions\" class=\"color-pink\" style=\"text-align: justify;\"><span style=\"font-family: inherit; font-size: 2rem;\">Preconditions:<\/span><\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>A precondition of an operation is an assertion which must be true just before the operation is called.<\/li>\n<li>Anything that the solution can assume to be true when the use case begins is known as preconditions.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"text-center row\" style=\"text-align: justify;\">\n<div class=\"col-sm-12\">\n<div id=\"bsa-zone_1590522538159-8_123456\"><\/div>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg\" alt=\" Preconditions and Postconditions in Testing\" \/><\/div>\n<\/div>\n<p style=\"text-align: center;\" align=\"center\">Preconditions and Postconditions in Testing<\/p>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"post-conditions\" class=\"color-green\">Post Conditions:<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\">\n<div class=\"hddn\">\n<ul>\n<li style=\"text-align: justify;\">A postcondition of an operation is an assertion which must be true just after the operation has been completed.<\/li>\n<li style=\"text-align: justify;\">A postcondition means if the operation returns the desired result, or has the desired effect, relative to the given parameters that satisfy the precondition.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answers : preconditions: Anything that the solution&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[5921],"tags":[6001,195,491,5937,203,199,214,209,5940,205,6000,5999,2936,5939,5998,5997,196,212,5941,213,286,710,5996,970,5938,204,217,282,5995,6005,5994,6004,5993,288,206,5992,200,974,197,284,280,5990,6002,6003,15837],"class_list":["post-911","post","type-post","status-publish","format-standard","hentry","category-software-testing","tag-about-preconditions-and-postconditions","tag-accenture-interview-questions-and-answers","tag-applied-materials-interview-questions-and-answers","tag-aveva-software-interview-questions-and-answers","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-collabera-technologies-interview-questions-and-answers","tag-csg-international-interview-questions-and-answers","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-develop-test-cases","tag-difference-between-precondition-and-postcondition","tag-fis-global-business-solutions-india-pvt-ltd-interview-questions-and-answers","tag-healthasyst-pvt-ltd-interview-questions-and-answers","tag-how-to-write-precondition-in-testing","tag-how-to-write-test-cases","tag-ibm-interview-questions-and-answers","tag-indecomm-global-services-interview-questions-and-answers","tag-infogain-interview-questions-and-answers","tag-infosys-technologies-interview-questions-and-answers","tag-lt-infotech-interview-questions-and-answers","tag-mavenir-interview-questions-and-answers","tag-meeting-use-case-preconditions-and-postconditions","tag-mindtree-interview-questions-and-answers","tag-newt-global-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-peoplestrong-interview-questions-and-answers","tag-persistent-systems-interview-questions-and-answers","tag-postcondition-example","tag-precondition-and-postcondition","tag-precondition-and-postcondition-option-in-testcase","tag-precondition-definition","tag-preconditions-for-successful-testing","tag-r-systems-interview-questions-and-answers","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-specification-with-preconditions-and-postconditions","tag-tech-mahindra-interview-questions-and-answers","tag-trigent-software-interview-questions-and-answers","tag-unitedhealth-group-interview-questions-and-answers","tag-valuelabs-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-what-is-meant-by-preconditions-and-postconditions-in-a-test-case","tag-what-is-postcondition-in-test-case","tag-what-is-preconditioning","tag-zestwings-informatics-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is meant by preconditions and postconditions in a Test Case ?<\/title>\n<meta name=\"description\" content=\"What is meant by preconditions and postconditions in a Test Case ? - Anything that the solution can assume to be true when the use case begins is known as preconditions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is meant by preconditions and postconditions in a Test Case ?\" \/>\n<meta property=\"og:description\" content=\"What is meant by preconditions and postconditions in a Test Case ? - Anything that the solution can assume to be true when the use case begins is known as preconditions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-18T18:02:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-09T10:32:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/\",\"name\":\"What is meant by preconditions and postconditions in a Test Case ?\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg\",\"datePublished\":\"2021-07-18T18:02:09+00:00\",\"dateModified\":\"2021-09-09T10:32:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is meant by preconditions and postconditions in a Test Case ? - Anything that the solution can assume to be true when the use case begins is known as preconditions.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/#primaryimage\",\"url\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg\",\"contentUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is meant by preconditions and postconditions in a Test Case ?","description":"What is meant by preconditions and postconditions in a Test Case ? - Anything that the solution can assume to be true when the use case begins is known as preconditions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/","og_locale":"en_US","og_type":"article","og_title":"What is meant by preconditions and postconditions in a Test Case ?","og_description":"What is meant by preconditions and postconditions in a Test Case ? - Anything that the solution can assume to be true when the use case begins is known as preconditions.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/","og_site_name":"Wikitechy","article_published_time":"2021-07-18T18:02:09+00:00","article_modified_time":"2021-09-09T10:32:20+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/","name":"What is meant by preconditions and postconditions in a Test Case ?","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg","datePublished":"2021-07-18T18:02:09+00:00","dateModified":"2021-09-09T10:32:20+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is meant by preconditions and postconditions in a Test Case ? - Anything that the solution can assume to be true when the use case begins is known as preconditions.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/software-testing\/what-is-meant-by-preconditions-and-postconditions-in-a-test-case\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/software-testing\/preconditions-postconditions-in-testing.jpg"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=911"}],"version-history":[{"count":2,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/911\/revisions"}],"predecessor-version":[{"id":3209,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/911\/revisions\/3209"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}