Home > Software > Testing > Manual-Testing
Interview Questions   Tutorials   Discussions   Programs   Videos   

Manual-Testing - What is meant by preconditions and post conditions in a Test Case? Can anyone give an example?




235
views
asked mar August 16, 2014 02:17 PM  

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


           

1 Answers



 
answered By kpreeti2011   0  
Pre-Condition is the condition which needs to be fulfilled before executing the test case 
Post Condition is the State which we will get if we execute the steps successfully .

Lets take an example :- You want to Invite a friend to Join to Social Media

Pre-condition :- You need to have an account and need to Login before you proceed .
Test Case --> Login to QT ---> Home page opens ---> Click on Invite ---> Invite Your Contact page opens --> Click on "Enter Email Addresses Manually "---> Enter the email address in "Send to " Field ---> Enter Your Message --> Click on Send Invitations.
Post Condition --->  Invitation mail sent to the Corresponding Email address .. 
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert