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

About these ads
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. 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. Thaila Muthukumar says:

    good

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