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