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’.

Advertisements
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. lakshmi says:

    can u provide some video example

  5. Narayna says:

    simple and right on point

  6. Poovarasan M says:

    nicely explained

  7. Shikha says:

    Easy and clear example

  8. Huda Khalil says:

    Really helpful and easy to understand, thanks

  9. Qazi says:

    Excellent explanation.

    Great

  10. vinayak says:

    Good written

  11. mani says:

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

  12. Thaila Muthukumar says:

    good

  13. Ganesh says:

    very good………….

  14. harathi says:

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

  15. ruhi says:

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

  16. vinothkumar says:

    really informative..

  17. Test_123 says:

    Very useful information ….

    Thanks….

  18. sg says:

    Hi I’ts really very usefull.Thak you 🙂

  19. stiffler says:

    thanks …it helped

  20. Mazhar says:

    Good

  21. siva says:

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

  22. Anurag Mishra says:

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

  23. Gaurav Kumar says:

    Nice post…

  24. gopal says:

    Really nice example

  25. Prashant says:

    Thanks

  26. Pranoti Patil says:

    gr8 article

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s