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

Precondition is nothing but the settings/conditions
required to execute the test case.
Ex:Precondition for pen is as follows
1.Pen should have sufficient ink
Steps:
1.Write on white paper using same pen
Expected out put:
1.All the letters should be properly visible

Note:Precondition is different from expected output
I can tell post condition is nothing but the expected out
put.

Is This Answer Correct ?    72 Yes 9 No

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

Answer / s saritha

We will take an eg. of Login Page
Precondition (prerequsite) : S/w should be install on
system,login page should be available on desktop
postcondition : login successful.

Is This Answer Correct ?    61 Yes 8 No

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

Answer / madan

u r totally wrong Nag...Please verify ur answer!!

Is This Answer Correct ?    17 Yes 7 No

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

Answer / pratik

a postcondition is a condition or predicate that must always
be true just after the execution of some section of code or
after an operation in a formal specification. Postconditions
are sometimes tested using assertions within the code
itself. Often, postconditions are simply included in the
documentation of the affected section of code.

For example: The result of a factorial is always an integer
and greater than or equal to 1. So a program that calculates
the factorial of an input number would have postconditions
that the result after the calculation be an integer and that
it be greater than or equal to 1.

Is This Answer Correct ?    12 Yes 3 No

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

Answer / chahal

Precondion is pre setting that tester needs to run that
test case for example a registered user needs to activate
by administrator (from back end) before he/she use his/her
account. so when tester will write test cases for login
then he/she will mention it in pre condition "User has
activated by administrator". one thing more Pre-condition
is always written with prefect tense

Is This Answer Correct ?    5 Yes 1 No

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

Answer / ganesh ram j

I&#7743; making it simple, preconditions is the state or
environment that should be active to execute the test
scenario for example take a login screen - here
preconditions is Launch the app, after splash screen, wait
till login screen loads. So from here actual test scenario
begins.

Post conditions is nothing but expected result after test
scenario executed end result.

Is This Answer Correct ?    4 Yes 2 No

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

Answer / rohit

Pre-Condition the term iteself indicates the Pre existign
set of the condition that should be satisfied to perform a
particular task.

You can write the testcase saying the what is the step that
needs to be performed before executing the testcase.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / tztexas

Preconditions – Anything the solution can assume to be true when the use case begins.
Post Conditions – Anything that must be true when the use case is complete.
there are 4 parts to a test case
Pre Conditions
Input
Output
Post Conditions

Is This Answer Correct ?    2 Yes 0 No

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

Answer / harini

Can anybody give an example to justift the above answer?

Is This Answer Correct ?    12 Yes 11 No

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

Answer / tom z

Pre-condition whatever there is inside or outside of the
system, that will affect how the system will handle the
test. The current state of the system and/or environment
before you run the test case.

Post-condition – anything you expect to happen as a result
of running the test case.
Changes in the state of the system and/or environment as a
result of running the test case.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Manual Testing Interview Questions

what is the difference between Test strategy and test plan?

1 Answers   Crea,


What are the main key components in web applications and client and server applications? And explain the differences between them?

0 Answers  


Can test condition,testcase and testscript help u in performing the static testing

0 Answers  


What all types of testing you will do for banking website?

0 Answers   HCL,


Did you have access to all the modules(Requirements, Test plan,Test Lab, Defects, & Dashboard) in Quality Center(QC) or only to some particular ones?

1 Answers   ING,


What is Reproducible Defect? and When we will rise that defect as Reproducible Defect?

2 Answers   MNC,


What type of projects can include in Logistics Domain? and what is the type of domain for project which include Driving license renewal, Different type of title registration etc...

0 Answers  


what are metrics and what are metrics did u collect in you are project

0 Answers   CMC,


what are known issues? Explain

2 Answers  


who will prepare the SRS,FRS,BRS, AND When Will they prepare that

4 Answers  


What is reverse engineering?

0 Answers  


product is ready to release you found defects but you can not postpone it? How will you handle it??

2 Answers   Formac,


Categories