Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / subrat

pre condition is that upon which u write a test case.
ex:-check login with invalid username and pwd.u have to
write a test case

postcondition is what output you get after giving your
input.means your expected out put , that can be maney.
ex;-you get aerror message.,you get a new prompt etc.

Is This Answer Correct ?    23 Yes 23 No

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

Answer / sujana

piush is damn right.

Is This Answer Correct ?    1 Yes 1 No

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

Answer / tester

For Example:
In banking system we want to test payment message received
in application/system get assigned to particular user to
work on it.
Then Precondition will be: Routing rules are set up in the
system.

Post Condition :Message get routed to respective user.

Is This Answer Correct ?    1 Yes 1 No

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

Answer / 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

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

Answer / alex n

Regarding Post-Condition.Often optional. In general it defines the conditions that must be met after finishing the run of the test case, or instructions what to do after running this test case.
Very often the conditions are just put into the section: Expected results.
Example: after running this test case please clean the data you have created and restore the data you have deleted.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / srinivas goud

Precondition:Require the proper condition to Excute the
test case

Is This Answer Correct ?    0 Yes 1 No

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

Answer / rahul

preconditions to write a test case is nothing but you should
have the functional doc and the use case doc on the basis of
which you prepare the test case.

postcondition is the expected value after that test case is
executed.

Is This Answer Correct ?    1 Yes 2 No

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

Answer / vvv

Preconditions nothing but the requirement for that
particular scenario.for example take a login
page:username,password,buttons for login and cancel.

the pst condition is the expected output

Is This Answer Correct ?    0 Yes 3 No

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

Answer / nag

Above two answers perfectly wrong

Pre Conditon is nothing but
1. The data which is used to execute the test case.
2. The Environment details

as per my knowledge there is no post condition.

Is This Answer Correct ?    11 Yes 34 No

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

Answer / piush

all the answer above are wrong ..

Precondition is your expected input data and post condition
is your expected values

Is This Answer Correct ?    7 Yes 30 No

Post New Answer

More Manual Testing Interview Questions

In Satyam interview I have faced this question.Please answer me. The calculator is calculating like this: 1+1=2 2+2=5 3+3=6 4+4=9 5+5=10 ------ like this Prepare a bug report on this.

8 Answers   Satyam,


How do you test if an XML file is correct or not?

4 Answers   Zeon Solutions,


hi sir, i completed my GNIIT from NIIT. i recently joined in IT company for Testing(manual) on JD EDWARDS.So,i wanna to ask that after taking 1yr experience can i able to do Testing .NET in another company.Pl i am confused pl send yours suggestion throw my email(paresh_shindeal@yahoo.com)

0 Answers  


What is the first query u encounter to test a database..?

2 Answers   HCL,


What is test data set up?

1 Answers  


What is SRS , BRS and FDS?

5 Answers  


Can Any Body Explain Major Bugs Find During Manual Testing

1 Answers   Symbiosis,


What is red box testing and yellow box testing?

10 Answers   IUGO, T systems,


what type of problems faced with u'r team mates in u'r comapany?

1 Answers   Accenture,


what are the release notes and what release note contains, when these prepared.

3 Answers   HCL,


Who can perform the unit testing?

5 Answers  


9.Are you exposed to any automation tools?If yes your role?

3 Answers   VJIL Consulting,


Categories