What is meant by preconditions and postconditions in a Test
Case? Can anyone give an example?

Answer Posted / steve b

If I am testing a household plumbing system, one part of that may be the functionality of a tap (water). The Pre-Condition may be that the tap is connected to the water mains and the stop cock is open. The Expected result is - water flows from the tap and is cold (hot water tap would also need (boiler connected and operational as a pre-condition and tested first). The post-condition may be - the sink fills up (whilst some may see this as part of a result, it isn't as the plug may not be in place so therefore may not fill. This operation would be a different test) The idea of post-conditions is that they illuminate other areas of operation that may require consequential testing - as above - the sink may overflow so we need to test if the drainage of the sink works also.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi could some one please send me the testplan testcases(for 2Modules) and testscripts for mercry fliht aplication or gmail. please write those on templates and send me.In testplan plase write Testobjective, test scope, est approach, exlusions assumptios.

1574


How do you perform configuration management with typical revision control systems?

1650


wat is meant by frontend and backend testing

5271


what r the measure bugs found in your project??? Give some example abt this.

3853


hi every one can you send me ISTQB Course material on my Email id deeptimundra997@gmail.com

1769






What is coverage and what are the different types of coverage techniques?

656


What is difference between Build, Version and Release

1689


plz send the test scenarios and test cases for "user name should contain 4 to 8 chars and they should have only vowels"

1741


I have to give weights to 5 stones so that using a simple balance and the stone i should be able to weight any number between 1-100

1884


what is mean by impact analysis ,how we used to select regression TC using this?

1604


What are the challenges you faced in your project (Testing) and in your company?

2601


How to validate a Testcase.and is the testing Methodology.

1841


Do we have any certifications for ETL Testing ?

1737


i want manual and automation test cases and interview questions

1714


Hi All I want discuss abt Testing tools is any one available online in google chat?

1601