PDA

View Full Version : Software QA - What is the difference between a Test Procedure and a Test Case?


echarcha
June 30th, 2003, 12:33 PM
Sorry for the dumb question from a non QA guy like me, but please enlighten... soon!

Thanks,
Sunit

Big-G
June 30th, 2003, 12:37 PM
Test case would tell what exactly you are trying to test. Test procedure would lay out the steps. For example,

Test case: To test the input box XYZ for special characters.

Test procedure:
1) Type '|╝' in the input box XYZ
2) Click on Submit Button.

Big-G
June 30th, 2003, 12:38 PM
But a lot of times, these two terms are used interchangably.

YedaAnna
June 30th, 2003, 12:41 PM
In case of a Test Procedure, you sometimes write a program or function that verifies and/or validates specific test cases. (Like you write a program that generates data of different data types and puts into a text box to check for data-type validation. These programs usually are a part of a s/w testing package)

echarcha
June 30th, 2003, 01:02 PM
Any more info??

DesiBaba
June 30th, 2003, 05:51 PM
biggie barabar bola...

test procedures are basically tha steps carried out to execute a test case.

ShivSainik
June 30th, 2003, 11:48 PM
Originally posted by echarcha
Any more info??

This is same as biggie said, just words are different. :)

Defn of test case One of the cases generated from permutations/combinations of how your product can be used

Defn of test procedure These are low level steps (interaction with system) which are needed to carry out to get to the scenerio of your test case.

Lets take echarcha.com as our system.

Test case : "Notification for new post"
Test procedure :
1. Register 2 users user1 and user2
2. user1 will start new thread for subject thread1
3. user2 will post something on thread1.

Now this is basic test procedure. Some people add some more masala to this like :
Prerequisites (here it can be starting a thread should be successful), Postcondition (User should get notification) and some dependencies on other tests if there are any.

In our project we merge both test case and procedure into single table. This makes mapping test case and procedure easy.