Test Scenario and Test Case

What is a Test Scenario?

A Test Scenario is generally a one line statement describing a feature of application to be tested. It is used for end to end testing of a feature and is generally derived from the use cases.
A single test scenario can cover one or more test cases i.e. it has a one to many relationship with test cases.        

What is a Test Case?

A test case is a set of conditions for evaluating a particular feature of a software product to determine its compliance with the business requirements. A test case has pre-requisites, input values and expected results in a documented form which cover the different test scenarios.

A test case can have following attributes-
  1. TestCaseId - A unique identifier of the test case.
  2. Test Summary - Oneliner summary of the test case.
  3. Description - Detailed description of the test case.
  4. Prerequisite or pre-condition - A set of prerequisites that must be followed before executing the test steps.
  5. Test Steps - Detailed steps for performing the test case.
  6. Expected result - The expected result in order to pass the test.
  7. Actual result - The actual result after executing the test steps.
  8. Test Result - Pass/Fail status of the test execution.
  9. Automation Status - Identifier of automation - whether the application is automated or not.
  10. Date - The test execution date.
  11. Executed by - Name of the person executing the test case.