Difference between Test case and Test scenario

Posted: October 5, 2012 in Testing Basics
Tags: , , ,

Difference between Test case and Test scenario:

  • Test case consist of set of input values, execution precondition, excepted Results and executed post condition, developed to cover certain test Condition. While Test scenario is nothing but test procedure.
  • A Test Scenarios have one to many relation with Test case, Means A scenario have multiple test case. Every time we have write test cases for test scenario. So while starting testing first prepare test scenarios then create different-2 test cases for each scenario.
  • Test cases are derived (or written) from test scenario. The scenarios are derived from use cases.
  • Test Scenario represents a series of actions that are associated together. While test Case represents a single (low level) action by the user.
  • Scenario is thread of operations where as Test cases are set of input and output given to the System.

For example:

Checking the functionality of Login button is Test scenario and
Test Cases for this Test Scenario are:
1. Click the button without entering user name and password.
2. Click the button only entering User name.
3. Click the button while entering wrong user name and wrong password.
Etc…

In short,

Test Scenario is ‘What to be tested’ and Test Case is ‘How to be tested’.

Comments
  1. Ranjan says:

    Thanks for this example.

  2. Hello to all, how is the whole thing, I think every one is getting more from
    this web page, and your views are good in support
    of new visitors.

  3. s�utikott says:

    Right now it appears like WordPress is the best blogging
    platform out there right now. (from what I’ve read) Is that what you’re using
    on your blog?

  4. deepak says:

    good

  5. lakshmi says:

    can u provide some video example

  6. Narayna says:

    simple and right on point

  7. Poovarasan M says:

    nicely explained

  8. Shikha says:

    Easy and clear example

  9. Huda Khalil says:

    Really helpful and easy to understand, thanks

  10. Qazi says:

    Excellent explanation.

    Great

  11. vinayak says:

    Good written

  12. mani says:

    can’t you provide the example with screenshots with excel sheet, meanwhile we can understand easily
    thanks for your help

  13. Thaila Muthukumar says:

    good

  14. Ganesh says:

    very good………….

  15. harathi says:

    thanks for this explanation …….. i want some more examples

  16. ruhi says:

    realy vry helpful ..,plz post some test case , test plan,n defect template examples

  17. vinothkumar says:

    really informative..

  18. Test_123 says:

    Very useful information ….

    Thanks….

  19. sg says:

    Hi I’ts really very usefull.Thak you 🙂

  20. stiffler says:

    thanks …it helped

  21. Mazhar says:

    Good

  22. siva says:

    Is good but give the senario’s in word or .xml format

  23. Anurag Mishra says:

    Can you please explain what is the difference between Spiral model and Agile model.

  24. Gaurav Kumar says:

    Nice post…

  25. gopal says:

    Really nice example

  26. Prashant says:

    Thanks

  27. Pranoti Patil says:

    gr8 article

Leave a comment